mirror_iproute2/man
Nicolas Dichtel d652ccbf81 netns: allow to dump and monitor nsid
Two commands are added:
 - ip netns list-id
 - ip monitor nsid

A cache is also added to remember the association between the iproute2 netns
name (from /var/run/netns/) and the nsid.
To avoid interfering with the rth socket, a new rtnl socket (rtnsh) is used to
get nsid (we may send rtnl request during listing on rth).

Example:
$ ip netns list-id
nsid 0 (iproute2 netns name: foo)
$ ip monitor nsid
Deleted nsid 0 (iproute2 netns name: foo)
nsid 16 (iproute2 netns name: bar)

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
2015-04-20 10:02:38 -07:00
..
man3 iproute2: clarifications in the libnetlink.3 man page 2013-02-11 09:22:19 -08:00
man7 iproute2: clarifications in the tc-hfsc.7 man page 2013-02-11 09:22:14 -08:00
man8 netns: allow to dump and monitor nsid 2015-04-20 10:02:38 -07:00
Makefile do not ignore errors in man subdirs 2013-01-15 09:41:37 -08:00