]> git.ipfire.org Git - thirdparty/nftables.git/commit
expression: extend 'nft describe' to allow listing data types
authorFlorian Westphal <fw@strlen.de>
Sat, 12 Oct 2019 22:17:52 +0000 (00:17 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 14 Oct 2019 10:23:15 +0000 (12:23 +0200)
commit21cbab5b6ffec409d5677802bcd1172d0d1cd990
tree6c1cc5466cea182c1c07d0670469771f6217e68f
parent6450e36080e66e4edc90ea688ffb52c60e14f2cd
expression: extend 'nft describe' to allow listing data types

nft describe ct_status
before:
symbol expression, datatype invalid (invalid), 0 bits

after:
datatype ct_status (conntrack status) (basetype bitmask, integer), 32 bits

pre-defined symbolic constants (in hexadecimal):
        expected                        0x00000001
        seen-reply                      0x00000002
[..]

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/nft.txt
doc/primary-expression.txt
src/expression.c