diff options
author | Mark Stapp <mjs@voltanet.io> | 2018-09-12 20:59:57 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-20 00:34:25 +0200 |
commit | 85a75f1e775be73178d1b292ec0866fb336ddf2a (patch) | |
tree | 1680b5d2f030740314940b0db721827394fe32f2 /zebra/kernel_netlink.h | |
parent | zebra: Create zebra_dplane.c and .h (diff) | |
download | frr-85a75f1e775be73178d1b292ec0866fb336ddf2a.tar.xz frr-85a75f1e775be73178d1b292ec0866fb336ddf2a.zip |
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/kernel_netlink.h')
-rw-r--r-- | zebra/kernel_netlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/kernel_netlink.h b/zebra/kernel_netlink.h index af0cc83f4..d78958d72 100644 --- a/zebra/kernel_netlink.h +++ b/zebra/kernel_netlink.h @@ -52,7 +52,7 @@ extern bool netlink_read; extern void netlink_read_init(const char *fname); #endif /* HANDLE_NETLINK_FUZZING */ extern int netlink_parse_info(int (*filter)(struct nlmsghdr *, ns_id_t, int), - struct nlsock *nl, struct zebra_ns *zns, + struct nlsock *nl, struct zebra_dplane_info *zns, int count, int startup); extern int netlink_talk_filter(struct nlmsghdr *h, ns_id_t ns, int startup); extern int netlink_talk(int (*filter)(struct nlmsghdr *, ns_id_t, int startup), |