]> git.ipfire.org Git - thirdparty/libnl.git/commit
netfilter/ct: support optional CTA_ZONE attribute
authorHolger Eitzenberger <holger@eitzenberger.org>
Fri, 30 Aug 2013 08:50:23 +0000 (10:50 +0200)
committerThomas Graf <tgraf@suug.ch>
Thu, 5 Sep 2013 15:39:03 +0000 (17:39 +0200)
commitdb08ef44afca0aba4b6dcb3d0463a4d2b49572e6
treef1a2e4881ebd1ecc407adc380729f32164c06686
parent56d2bbe173b41913cf4b701d812ce2d39a86612c
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>
include/netlink-private/types.h
include/netlink/netfilter/ct.h
lib/netfilter/ct.c
lib/netfilter/ct_obj.c