]> git.puffer.fish Git - mirror/frr.git/commit
zebra, lib: store relative default ns id in each namespace
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 2 Oct 2019 11:34:40 +0000 (13:34 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 21 Sep 2020 07:17:10 +0000 (09:17 +0200)
commit5eea262a68603baa9f6dbdb56db6100dd80cdf5d
treecfdb619f88d453d59ec788d11cfd22534adce738
parent83ef3b15914b7c9bb1f8db97e22e15acdac7639a
zebra, lib: store relative default ns id in each namespace

to be able to retrieve the network namespace identifier for each
namespace, the ns id is stored in each ns context. For default
namespace, the netns id is the same as that value.

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