summaryrefslogtreecommitdiff
path: root/zebra/netconf_netlink.h
diff options
context:
space:
mode:
authorMark Stapp <mstapp@nvidia.com>2021-10-28 11:23:31 -0400
committerMark Stapp <mstapp@nvidia.com>2022-02-25 10:18:32 -0500
commitcd787a8a45ea3c94a689d5ff01ddf62467373550 (patch)
tree6d33a836729d423443dd004ca2eda91933c44ea6 /zebra/netconf_netlink.h
parent728f2017ae285aea6f7e8bda369eaae7a3083899 (diff)
zebra: use dataplane to read interface NETCONF info
Use the dataplane to query and read interface NETCONF data; add netconf-oriented data to the dplane context object, and add accessors for it. Add handler for incoming update processing. Signed-off-by: Mark Stapp <mstapp@nvidia.com>
Diffstat (limited to 'zebra/netconf_netlink.h')
-rw-r--r--zebra/netconf_netlink.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/zebra/netconf_netlink.h b/zebra/netconf_netlink.h
index 0eae2119dd..3f2e7af768 100644
--- a/zebra/netconf_netlink.h
+++ b/zebra/netconf_netlink.h
@@ -26,14 +26,17 @@
#ifdef HAVE_NETLINK /* Netlink-only module */
+#include "zebra/zebra_ns.h"
+
#ifdef __cplusplus
extern "C" {
#endif
+/* Parse and handle a NETCONF message. */
extern int netlink_netconf_change(struct nlmsghdr *h, ns_id_t ns_id,
int startup);
-
-extern int netconf_lookup_netlink(struct zebra_ns *zns);
+/* Request info from the host OS. */
+int netlink_request_netconf(int sockfd);
#ifdef __cplusplus