X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=zebra%2Fzebra_ns.h;h=d3592f8f305d9b942dfab015a72e80f7b48eeb1c;hb=c52e2ecf95a9be318912caacc0851d9307e679f7;hp=2498be71620e2cd6c6f55d88a47efea0db3bf54e;hpb=62f20a52ab08c89697c094d4f44df5cf0272499a;p=mirror_frr.git diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h index 2498be716..d3592f8f3 100644 --- a/zebra/zebra_ns.h +++ b/zebra/zebra_ns.h @@ -46,17 +46,14 @@ struct zebra_ns { ns_id_t ns_id; #ifdef HAVE_NETLINK - struct nlsock netlink; /* kernel messages */ - struct nlsock netlink_cmd; /* command channel */ + struct nlsock netlink; /* kernel messages */ + struct nlsock netlink_cmd; /* command channel */ + struct nlsock netlink_dplane; /* dataplane channel */ struct thread *t_netlink; #endif struct route_table *if_table; -#if defined(HAVE_RTADV) - struct rtadv rtadv; -#endif /* HAVE_RTADV */ - /* Back pointer */ struct ns *ns; }; @@ -66,7 +63,8 @@ struct zebra_ns *zebra_ns_lookup(ns_id_t ns_id); int zebra_ns_init(void); int zebra_ns_enable(ns_id_t ns_id, void **info); int zebra_ns_disabled(struct ns *ns); -int zebra_ns_disable(ns_id_t ns_id, void **info); +int zebra_ns_early_shutdown(struct ns *ns); +int zebra_ns_final_shutdown(struct ns *ns); int zebra_ns_config_write(struct vty *vty, struct ns *ns);