]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: add CMD_OBJ_SETELEMS
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 8 May 2020 12:44:03 +0000 (14:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 14 May 2020 14:53:05 +0000 (16:53 +0200)
commitc9eae091983ae9ffcf2ca5b666bc03d5a1916c2f
treec1b897b41978b6e5b7adb8710a82b89099897591
parentb81519f1641b508c289ddfefc800b2c20ab243e6
src: add CMD_OBJ_SETELEMS

This new command type results from expanding the set definition in two
commands: One to add the set and another to add the elements. This
results in 1:1 mapping between the command object to the netlink API.
The command is then translated into a netlink message which gets a
unique sequence number. This sequence number allows to correlate the
netlink extended error reporting with the corresponding command.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/rule.h
src/rule.c