]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: Provide NFT_{RT,CT}_MAX for userspace
authorPhil Sutter <phil@nwl.cc>
Fri, 27 Apr 2018 10:47:01 +0000 (12:47 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 6 May 2018 21:35:10 +0000 (23:35 +0200)
commit991d2496c64df85ca865182d3733371d9af1afff
tree5e1e5e5b03bae1a3e1b82577328ea2d16f1429d5
parent30b4ccff2551b84dfd8da45cf0db4f4330d0f64d
netfilter: nf_tables: Provide NFT_{RT,CT}_MAX for userspace

These macros allow conveniently declaring arrays which use NFT_{RT,CT}_*
values as indexes.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_tables.h