summaryrefslogtreecommitdiffstats
path: root/examples/nft-map-add.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: Remove the use of nftnl_mnl_batch_put()Elise Lennion2017-01-161-23/+15
| | | | | | | | use nftnl_batch_begin() and nftnl_batch_end() instead, to keep examples consistent and avoid code duplication. Signed-off-by: Elise Lennion <elise.lennion@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* examples: add nft-map-addPablo Neira Ayuso2016-11-301-0/+157
Place an example to add a map in the libnftnl tree. Reported-by: Khawar Shehzad <shehzad.khawar@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>