summaryrefslogtreecommitdiff
path: root/zebra/zebra_ns.h
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2021-09-21 10:51:37 -0400
committerGitHub <noreply@github.com>2021-09-21 10:51:37 -0400
commit5b311cf18d3612a7d4f08e52bac7c44b4bfaed4d (patch)
tree42b54fdf043570e547a19c81224d2d63543395b0 /zebra/zebra_ns.h
parentf0a477719266cdfa7d22ba0f9240af03fc10aeff (diff)
parentc6f55fb28f188b59383987f413d802e09c8bce8a (diff)
Merge pull request #9052 from mjstapp/dplane_incoming_dev
zebra: Move incoming netlink interface address change events to the dplane pthread
Diffstat (limited to 'zebra/zebra_ns.h')
-rw-r--r--zebra/zebra_ns.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h
index f7d1f40782..8237de7dde 100644
--- a/zebra/zebra_ns.h
+++ b/zebra/zebra_ns.h
@@ -52,7 +52,12 @@ struct zebra_ns {
#ifdef HAVE_NETLINK
struct nlsock netlink; /* kernel messages */
struct nlsock netlink_cmd; /* command channel */
- struct nlsock netlink_dplane; /* dataplane channel */
+
+ /* dplane system's channels: one for outgoing programming,
+ * for the FIB e.g., and one for incoming events from the OS.
+ */
+ struct nlsock netlink_dplane_out;
+ struct nlsock netlink_dplane_in;
struct thread *t_netlink;
#endif