# define XT_LIB_DIR "/lib/xtables"
#endif
+#ifndef __ALIGN_KERNEL
+#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
+#define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
+#endif
+
#ifndef ALIGN
-#define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1)
-#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask))
+#define ALIGN(x,a) __ALIGN_KERNEL((x), (a))
#endif
static const char *tname = "mangle";
m->x6_options,
&m->option_offset);
#else
- opts = xtables_merge_options(tcipt_globals.orig_opts,
- tcipt_globals.opts,
+ opts = xtables_merge_options(tcipt_globals.opts,
m->extra_opts,
&m->option_offset);
#endif
m->x6_options,
&m->option_offset);
#else
- opts = xtables_merge_options(tcipt_globals.orig_opts,
- tcipt_globals.opts,
+ opts = xtables_merge_options(tcipt_globals.opts,
m->extra_opts,
&m->option_offset);
#endif