mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-11-03 00:06:16 +00:00
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> |
||
|---|---|---|
| .. | ||
| dnet_ntop.c | ||
| dnet_pton.c | ||
| inet_proto.c | ||
| ipx_ntop.c | ||
| ipx_pton.c | ||
| libgenl.c | ||
| libnetlink.c | ||
| ll_addr.c | ||
| ll_map.c | ||
| ll_proto.c | ||
| ll_types.c | ||
| Makefile | ||
| mpls_ntop.c | ||
| mpls_pton.c | ||
| names.c | ||
| namespace.c | ||
| rt_names.c | ||
| utils.c | ||