diff options
| author | Mark Stapp <mjs@voltanet.io> | 2018-09-12 14:59:57 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-19 18:34:25 -0400 |
| commit | 85a75f1e775be73178d1b292ec0866fb336ddf2a (patch) | |
| tree | 1680b5d2f030740314940b0db721827394fe32f2 /zebra/zebra_netns_id.c | |
| parent | ea1c14f6801881b7d2e1b4035b8f085f6d663927 (diff) | |
zebra: Start abstraction of zebra_dplane_info for context passing
Reduce or eliminate use of global zebra_ns structs in
a couple of netlink/kernel code paths, so that those paths
can potentially be made asynch eventually.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_netns_id.c')
| -rw-r--r-- | zebra/zebra_netns_id.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_netns_id.c b/zebra/zebra_netns_id.c index b26c0515f1..600d1d55c6 100644 --- a/zebra/zebra_netns_id.c +++ b/zebra/zebra_netns_id.c @@ -24,13 +24,14 @@ #include "log.h" #include "lib_errors.h" +#include "zebra/rib.h" +#include "zebra/zebra_dplane.h" #if defined(HAVE_NETLINK) #include <linux/net_namespace.h> #include <linux/netlink.h> #include <linux/rtnetlink.h> -#include "rib.h" #include "zebra_ns.h" #include "kernel_netlink.h" #endif /* defined(HAVE_NETLINK) */ |
