summaryrefslogtreecommitdiffstats
path: root/zebra/zapi_msg.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-05-23 18:20:43 +0200
committerMark Stapp <mjs@voltanet.io>2018-10-25 14:34:30 +0200
commit7cdb1a8445ecff8ad0f2eb532df5eb2112d921e0 (patch)
treefb34cd690dff402df2e4f5323d697f18582b2cfc /zebra/zapi_msg.h
parentMerge pull request #3121 from pguibert6WIND/flowspec_json_issue (diff)
downloadfrr-7cdb1a8445ecff8ad0f2eb532df5eb2112d921e0.tar.xz
frr-7cdb1a8445ecff8ad0f2eb532df5eb2112d921e0.zip
zebra: start dataplane layer work
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. Slide netlink_talk_info into place to remove dependency on core zebra structs; add accessors for dplane context block Start init of route context from zebra core re and rn structs; start queueing and event handling for incoming route updates. Expose netlink apis that don't rely on zebra core structs; add parallel route-update code path using the dplane ctx; simplest possible event loop to process queued route' updates. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zapi_msg.h')
-rw-r--r--zebra/zapi_msg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zapi_msg.h b/zebra/zapi_msg.h
index 29fe59bab..0dcfd5d74 100644
--- a/zebra/zapi_msg.h
+++ b/zebra/zapi_msg.h
@@ -70,6 +70,8 @@ extern int zsend_pw_update(struct zserv *client, struct zebra_pw *pw);
extern int zsend_route_notify_owner(struct route_entry *re,
const struct prefix *p,
enum zapi_route_notify_owner note);
+extern int zsend_route_notify_owner_ctx(dplane_ctx_h ctx,
+ enum zapi_route_notify_owner note);
extern void zsend_rule_notify_owner(struct zebra_pbr_rule *rule,
enum zapi_rule_notify_owner note);