]> git.ipfire.org Git - thirdparty/ipset.git/commit
Introduction of new commands and protocol version 7
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 22 Oct 2018 20:25:09 +0000 (22:25 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 27 Oct 2018 12:58:55 +0000 (14:58 +0200)
commit4a1797e2b8eb055c6016e1092ac5dfb8f1e49914
tree6d76c0ee9ab8d1e09afe2b078c8ff62ac5683c99
parent18f0b2c43994f4a626b449a4d771c7002f4e42e2
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.
14 files changed:
include/libipset/args.h
include/libipset/data.h
include/libipset/linux_ip_set.h
include/libipset/linux_ip_set_bitmap.h
include/libipset/linux_ip_set_hash.h
include/libipset/linux_ip_set_list.h
kernel/include/linux/netfilter/ipset/ip_set.h
kernel/include/linux/netfilter/ipset/ip_set_compat.h.in
kernel/include/uapi/linux/netfilter/ipset/ip_set.h
kernel/net/netfilter/ipset/ip_set_core.c
lib/PROTOCOL
lib/args.c
lib/data.c
lib/session.c