path: root/examples/nft-flowtable-add.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: Replace use of deprecated symbolsPhil Sutter2019-12-041-3/+3
| | | | | | | | | | | | | Do not use unqualified setters to avoid the warnings. Pass a (false) zero length value to nftnl_flowtable_set_data() when assigning to NFTNL_FLOWTABLE_DEVICES as the length value is unused and not even usable. Maybe one should introduce a dedicated nftnl_flowtable_set_devices() at a later point. Fixes: 7349a70634fa0 ("Deprecate untyped data setters") Signed-off-by: Phil Sutter <> Acked-by: Pablo Neira Ayuso <> Acked-by: Arturo Borrero Gonzalez <>
* examples: nft-flowtable-add: do not use nftnl_flowtable_set_array()Pablo Neira Ayuso2018-03-201-1/+1
| | | | | Fixes: 62d6fff78b2c ("src: remove set/get array api") Signed-off-by: Pablo Neira Ayuso <>
* src: add flowtable supportPablo Neira Ayuso2018-03-051-0/+136
This patch allows you to add, delete and list flowtable through the existing netlink interface. Signed-off-by: Pablo Neira Ayuso <>