[NETFILTER]: xt_connmark match, revision 1

Introduces the xt_connmark match revision 1. It uses fixed types,
eventually obsoleting revision 0 some day (uses nonfixed types).
(Unfixed types like "unsigned long" do not play well with mixed
user-/kernelspace "bitness", e.g. 32/64, as is common on SPARC64,
and need extra compat code.)

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jan Engelhardt
2008-01-14 23:39:13 -08:00
committed by David S. Miller
parent e0a812aea5
commit 96e3227265
2 changed files with 76 additions and 17 deletions

View File

@@ -15,4 +15,9 @@ struct xt_connmark_info {
u_int8_t invert;
};
struct xt_connmark_mtinfo1 {
u_int32_t mark, mask;
u_int8_t invert;
};
#endif /*_XT_CONNMARK_H*/