[NETFILTER]: xt_CONNMARK target, revision 1

Introduces the xt_CONNMARK target revision 1. It uses fixed types, and
also uses the more expressive XOR logic. Futhermore, it allows to
selectively pick bits from both the ctmark and the nfmark in the SAVE
and RESTORE operations.

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:38:34 -08:00
committed by David S. Miller
parent 8b6f3f62fe
commit 0dc8c76029
2 changed files with 102 additions and 20 deletions

View File

@@ -22,4 +22,9 @@ struct xt_connmark_target_info {
u_int8_t mode;
};
struct xt_connmark_tginfo1 {
u_int32_t ctmark, ctmask, nfmask;
u_int8_t mode;
};
#endif /*_XT_CONNMARK_H_target*/