aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/nfnetlink.h
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2013-10-10 13:41:44 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-10-14 18:01:00 +0200
commit5e94846686d027a4c8ecc5d9d52b18036d3e8f7a (patch)
tree46b3537f5307e673fc1746bed655e9bc5d6e72e4 /include/linux/netfilter/nfnetlink.h
parentnetfilter: nf_tables: complete net namespace support (diff)
downloadlinux-dev-5e94846686d027a4c8ecc5d9d52b18036d3e8f7a.tar.xz
linux-dev-5e94846686d027a4c8ecc5d9d52b18036d3e8f7a.zip
netfilter: nf_tables: add insert operation
This patch adds a new rule attribute NFTA_RULE_POSITION which is used to store the position of a rule relatively to the others. By providing the create command and specifying the position, the rule is inserted after the rule with the handle equal to the provided position. Regarding notification, the position attribute specifies the handle of the previous rule to make sure we don't point to any stale rule in notifications coming from the commit path. This patch includes the following fix from Pablo: * nf_tables: fix rule deletion event reporting Signed-off-by: Eric Leblond <eric@regit.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter/nfnetlink.h')
0 files changed, 0 insertions, 0 deletions