summaryrefslogtreecommitdiffstats
path: root/include/netlink-private
diff options
context:
space:
mode:
authorHolger Eitzenberger <holger@eitzenberger.org>2013-08-30 08:50:23 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-09-05 15:39:03 (GMT)
commitdb08ef44afca0aba4b6dcb3d0463a4d2b49572e6 (patch)
treef1a2e4881ebd1ecc407adc380729f32164c06686 /include/netlink-private
parent56d2bbe173b41913cf4b701d812ce2d39a86612c (diff)
downloadlibnl-db08ef44afca0aba4b6dcb3d0463a4d2b49572e6.zip
libnl-db08ef44afca0aba4b6dcb3d0463a4d2b49572e6.tar.gz
libnl-db08ef44afca0aba4b6dcb3d0463a4d2b49572e6.tar.bz2
netfilter/ct: support optional CTA_ZONE attribute
Newer kernels support conntrack zones, which help to partition the conntrack table into virtual conntrack tables. This patch is for adding support for the optional attribute, adds setters and getters, and adds support for the zone ID in the conntrack dumper. An example entry in NL_DUMP_LINE format looks like: tcp SYN_SENT 10.128.128.99:43354 <-> 10.128.129.20:22 zone 1 Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org> Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'include/netlink-private')
-rw-r--r--include/netlink-private/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink-private/types.h b/include/netlink-private/types.h
index ab5eea4..0fda9ac 100644
--- a/include/netlink-private/types.h
+++ b/include/netlink-private/types.h
@@ -792,6 +792,7 @@ struct nfnl_ct {
uint32_t ct_mark;
uint32_t ct_use;
uint32_t ct_id;
+ uint16_t ct_zone;
struct nfnl_ct_dir ct_orig;
struct nfnl_ct_dir ct_repl;