]> git.proxmox.com Git - mirror_frr.git/commit - lib/vrf.h
zebra: add an indirection table for ns_id
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 26 Mar 2018 10:22:18 +0000 (12:22 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 13 Apr 2018 14:40:32 +0000 (16:40 +0200)
commit03aff2d8489e91b493ad24b8d8d8918831e156d8
tree304e168835778c15f11d2c2ba9d96109e944dcb4
parent0c2bac388029e12e4c21177cda02e72712f28efb
zebra: add an indirection table for ns_id

This list "table" is created in the case the netns backend for VRF is
used. This contains the mapping between the NSID value read from the
'ip netns list' and the ns id external used to create the VRF
value from vrf context. This mapping is
necessary in order to reserve default 0 value for vrf_default.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/netns_linux.c
lib/netns_other.c
lib/ns.h
lib/vrf.c
lib/vrf.h
zebra/zebra_netns_notify.c
zebra/zebra_ns.c