summaryrefslogtreecommitdiff
path: root/zebra/rt.h
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2021-07-14 13:06:41 -0400
committerMark Stapp <mjs.ietf@gmail.com>2021-09-14 11:07:30 -0400
commitd166308be009537caf733dbe0b55fae7553726a1 (patch)
tree93e644d11cd23a1107e7292a6e6db33e900408e9 /zebra/rt.h
parente7c2c1985ce6f7e974d580d7d00f59cc11f225ac (diff)
zebra: use the dataplane to read netlink intf addr changes
Read incoming interface address change notifications in the dplane pthread; enqueue the events to the main pthread for processing. This is netlink-only for now - the bsd kernel socket path remains unchanged. Signed-off-by: Mark Stapp <mjs.ietf@gmail.com>
Diffstat (limited to 'zebra/rt.h')
-rw-r--r--zebra/rt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index 929a44ade7..90148d2c0d 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -110,6 +110,11 @@ extern int kernel_del_mac_nhg(uint32_t nhg_id);
*/
extern void kernel_update_multi(struct dplane_ctx_q *ctx_list);
+/*
+ * Called by the dplane pthread to read incoming OS messages and dispatch them.
+ */
+int kernel_dplane_read(struct zebra_dplane_info *info);
+
#ifdef __cplusplus
}
#endif