summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_ns.h
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2021-07-01 20:29:41 +0200
committerMark Stapp <mjs.ietf@gmail.com>2021-09-14 16:31:45 +0200
commit80dcc38831949e8828aade21e24212a3692468cd (patch)
tree5f65bdf9a8d5b8e2bd7e131528c61f49c7c1151a /zebra/zebra_ns.h
parentMerge pull request #9602 from nkelapur/master (diff)
downloadfrr-80dcc38831949e8828aade21e24212a3692468cd.tar.xz
frr-80dcc38831949e8828aade21e24212a3692468cd.zip
zebra: add inbound netlink socket for dataplane
Add a new netlink socket for events coming in from the host OS to the dataplane system for processing. Rename the existing outbound dplane socket. Signed-off-by: Mark Stapp <mjs.ietf@gmail.com>
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 f7d1f4078..8237de7dd 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