diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-28 02:23:57 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-03-17 14:48:36 (GMT) |
commit | 28b949885f80efb87d7cebdcf879c99db12c37bd (patch) | |
tree | f6c0acd5646a899c7eebb91fee856eebd8cbca83 /include/linux/netfilter/xt_mark.h | |
parent | 44c5873199a90a45e9d64a86a1f54b1ccab21ec8 (diff) | |
download | linux-fsl-qoriq-28b949885f80efb87d7cebdcf879c99db12c37bd.tar.xz |
netfilter: xtables: merge xt_MARK into xt_mark
Two arguments for combining the two:
- xt_mark is pretty useless without xt_MARK
- the actual code is so small anyway that the kmod metadata and the module
in its loaded state totally outweighs the combined actual code size.
i586-before:
-rw-r--r-- 1 jengelh users 3821 Feb 10 01:01 xt_MARK.ko
-rw-r--r-- 1 jengelh users 2592 Feb 10 00:04 xt_MARK.o
-rw-r--r-- 1 jengelh users 3274 Feb 10 01:01 xt_mark.ko
-rw-r--r-- 1 jengelh users 2108 Feb 10 00:05 xt_mark.o
text data bss dec hex filename
354 264 0 618 26a xt_MARK.o
223 176 0 399 18f xt_mark.o
And the runtime size is like 14 KB.
i586-after:
-rw-r--r-- 1 jengelh users 3264 Feb 18 17:28 xt_mark.o
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/linux/netfilter/xt_mark.h')
-rw-r--r-- | include/linux/netfilter/xt_mark.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_mark.h b/include/linux/netfilter/xt_mark.h index 6607c8f..ecadc40 100644 --- a/include/linux/netfilter/xt_mark.h +++ b/include/linux/netfilter/xt_mark.h @@ -3,6 +3,10 @@ #include <linux/types.h> +struct xt_mark_tginfo2 { + __u32 mark, mask; +}; + struct xt_mark_mtinfo1 { __u32 mark, mask; __u8 invert; |