summaryrefslogtreecommitdiffstats
path: root/lib/vrf.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-10-02 13:34:40 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2020-05-18 14:11:03 +0200
commit9d3555e06ccc68fe37e0a00100029ac4bad8dee2 (patch)
tree2d280fa3fda993385d84e074f0cb20b0aaab4fab /lib/vrf.h
parentzebra, lib: add an internal API to get relative default nsid in other ns (diff)
downloadfrr-9d3555e06ccc68fe37e0a00100029ac4bad8dee2.tar.xz
frr-9d3555e06ccc68fe37e0a00100029ac4bad8dee2.zip
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>
Diffstat (limited to 'lib/vrf.h')
-rw-r--r--lib/vrf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vrf.h b/lib/vrf.h
index 83ed16b48..a8514d74e 100644
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -315,7 +315,7 @@ extern int vrf_handler_create(struct vty *vty, const char *name,
*/
extern int vrf_netns_handler_create(struct vty *vty, struct vrf *vrf,
char *pathname, ns_id_t ext_ns_id,
- ns_id_t ns_id);
+ ns_id_t ns_id, ns_id_t rel_def_ns_id);
/* used internally to enable or disable VRF.
* Notify a change in the VRF ID of the VRF