[nft PATCH] Review numeric/literal options and related docs

2018-09-14 Thread Phil Sutter
With introduction of literal option, two of the three meaningful numeric levels lost their purpose. In fact, they turned into no-ops so that '-n' had to be given tree times on commandline to have an effect. To overcome this, spread the three effects of NFT_NUMERIC_ALL to allow some selection

[nft PATCH] doc: Review man page building in Makefile.am

2018-09-14 Thread Phil Sutter
Previously, changes to any of the included adoc snippets in nft.txt were not detected and hence the man page not updated (unless 'make clean' was called). It seems like the '.txt.8' target only considers foo.txt when trying to generate foo.8, so get rid of that and introduce a dedicated target for

[nft PATCH] nft.8: Update meta pkt_type value description

2018-09-14 Thread Phil Sutter
Commit 8a7f6de536408 ("meta: fix pkttype name and add 'other' symbol") deprecated pkt_type value 'unicast' (for it being misleading) and introduced 'host' and 'other' but it did not update documentation accordingly. Fix this by replacing 'unicast' with 'host' in documentation and adding 'other'.