]> git.ipfire.org Git - thirdparty/ipset.git/commit
netfilter: ipset: Add skbinfo extension kernel support in the ipset core.
authorAnton Danilov <littlesmilingcloud@gmail.com>
Thu, 28 Aug 2014 06:11:27 +0000 (10:11 +0400)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 8 Sep 2014 18:34:46 +0000 (20:34 +0200)
commit0bcbd9b0f916909b843b7034c75627cc26cb6846
tree447f9adf2ac4493724b01340def593335c428f1e
parent49524319b9dd396cfdf04eaf473390e475600d40
netfilter: ipset: Add skbinfo extension kernel support in the ipset core.

Skbinfo extension provides mapping of metainformation with lookup in the ipset tables.
This patch defines the flags, the constants, the functions and the structures
for the data type independent support of the extension.
Note the firewall mark stores in the kernel structures as two 32bit values,
but transfered through netlink as one 64bit value.

Signed-off-by: Anton Danilov <littlesmilingcloud@gmail.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
kernel/include/linux/netfilter/ipset/ip_set.h
kernel/include/uapi/linux/netfilter/ipset/ip_set.h
kernel/net/netfilter/ipset/ip_set_core.c