netfilter: ipset: Introduction of new commands and protocol version 7
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 27 Oct 2018 13:07:40 +0000 (15:07 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 27 Oct 2018 13:49:09 +0000 (15:49 +0200)
commit23c42a403a9cfdbad6004a556c927be7dd61a8ee
tree493496f1ee72d720eb942252809444752fd8649c
parent29edbc3ebdb0faa934114f14bf12fc0b784d4f1b
netfilter: ipset: Introduction of new commands and protocol version 7

Two new commands (IPSET_CMD_GET_BYNAME, IPSET_CMD_GET_BYINDEX) are
introduced. The new commands makes possible to eliminate the getsockopt
operation (in iptables set/SET match/target) and thus use only netlink
communication between userspace and kernel for ipset. With the new
protocol version, userspace can exactly know which functionality is
supported by the running kernel.

Both the kernel and userspace is fully backward compatible.

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