summaryrefslogtreecommitdiff
path: root/zebra/zebra_ns.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-03-28 10:58:28 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-06-01 15:24:13 +0200
commitb3441a6a2235615e03cf5d3db152429fd3fe603f (patch)
tree602209fdb8c32c5c2ccadef3eb418e1d42154772 /zebra/zebra_ns.h
parente9748a89019f03cffd1ba2fcc87543171cbe3a26 (diff)
zebra: ns_table list is extended to support multiple NETNS
In the case where vrf backend is netns, then the list of ns tables may be extended. A single list is kept,but an attribute is added: the ns_id. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zebra_ns.h')
-rw-r--r--zebra/zebra_ns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h
index c93db2a764..ed70a34c0b 100644
--- a/zebra/zebra_ns.h
+++ b/zebra/zebra_ns.h
@@ -43,6 +43,7 @@ struct zebra_ns_table {
uint32_t tableid;
afi_t afi;
+ ns_id_t ns_id;
struct route_table *table;
};