This patchset adds support for afnetns to iproute. For more information on afnetns please look at the kernel patchset.
Patches for util-linux commands, namely nsenter and unshare, is available here: <https://github.com/hannes/util-linux/tree/afnetns> Hannes Frederic Sowa (4): afnetns: add iproute bits for afnetns afnetns: support for ipv4/v6 address management afnetns: introduce lib/afnetns.c and a name cache afnetns: only show afnetns when show_details include/afnetns.h | 6 ++ include/libnetlink.h | 7 ++ include/linux/if_addr.h | 2 + include/namespace.h | 4 + include/utils.h | 1 + ip/Makefile | 2 +- ip/ip.c | 5 +- ip/ip_common.h | 1 + ip/ipaddress.c | 38 ++++++++ ip/ipafnetns.c | 216 +++++++++++++++++++++++++++++++++++++++++++++ lib/Makefile | 2 +- lib/afnetns.c | 226 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/utils.c | 36 ++++++++ 13 files changed, 542 insertions(+), 4 deletions(-) create mode 100644 include/afnetns.h create mode 100644 ip/ipafnetns.c create mode 100644 lib/afnetns.c -- 2.9.3