netns support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | libnftables: add nft_ctx_set_netns()include/ include/ src/ +3 more | +156 | 6 replies | |
| 2/3 | main: split parsing from libnftables initializationsrc/ | +13 | 0 replies | |
| 3/3 | main: add -w/--netns optiondoc/ src/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/3] netns support
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
Signature · 1 line
2.11.0