Hi, This patchset adds native netns support: 1) Add nft_ctx_set_netns() to libnftables to specify the network namespace. 2) Add new -w/--netns option to specify the network namespace from the command line. Pablo Neira Ayuso (3): libnftables: add nft_ctx_set_netns() main: split parsing from libnftables initialization main: add -w/--netns option doc/nft.txt | 4 ++ include/namespace.h | 21 ++++++++ include/nftables/libnftables.h | 3 ++ src/Makefile.am | 1 + src/libnftables.c | 20 ++++++++ src/libnftables.map | 4 ++ src/main.c | 53 ++++++++++++-------- src/namespace.c | 107 +++++++++++++++++++++++++++++++++++++++++ 8 files changed, 194 insertions(+), 19 deletions(-) create mode 100644 include/namespace.h create mode 100644 src/namespace.c -- 2.11.0