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)
commit3f9c56a581b96d8117922c4fd8221687fd649f9b
tree5e1e5e5b03bae1a3e1b82577328ea2d16f1429d5
parent3a2e86f64577be9a6e2c13ee06834e769cd3824f
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