diff options
author | Patrick McHardy <kaber@trash.net> | 2010-02-15 17:13:33 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-02-15 17:13:33 (GMT) |
commit | 5d0aa2ccd4699a01cfdf14886191c249d7b45a01 (patch) | |
tree | 6ea81b5eede26bd6a04bcc3cd79770c334139381 /include/linux/netfilter/xt_CT.h | |
parent | 8fea97ec1772bbf553d89187340ef624d548e115 (diff) | |
download | linux-fsl-qoriq-5d0aa2ccd4699a01cfdf14886191c249d7b45a01.tar.xz |
netfilter: nf_conntrack: add support for "conntrack zones"
Normally, each connection needs a unique identity. Conntrack zones allow
to specify a numerical zone using the CT target, connections in different
zones can use the same identity.
Example:
iptables -t raw -A PREROUTING -i veth0 -j CT --zone 1
iptables -t raw -A OUTPUT -o veth1 -j CT --zone 1
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter/xt_CT.h')
-rw-r--r-- | include/linux/netfilter/xt_CT.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter/xt_CT.h b/include/linux/netfilter/xt_CT.h index 7fd0eff..1b56410 100644 --- a/include/linux/netfilter/xt_CT.h +++ b/include/linux/netfilter/xt_CT.h @@ -5,7 +5,7 @@ struct xt_ct_target_info { u_int16_t flags; - u_int16_t __unused; + u_int16_t zone; u_int32_t ct_events; u_int32_t exp_events; char helper[16]; |