summaryrefslogtreecommitdiff
path: root/zebra/rt.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-12-10 14:34:24 -0500
committerMark Stapp <mjs@voltanet.io>2019-01-25 10:45:57 -0500
commit97d8d05a811eac7b3f39c64f7806f5b9c5bc2004 (patch)
treeabf584cc2e151165591c3bc14d52a4cecc2eb43d /zebra/rt.h
parentd613b8e1edd522cdc0dc6b71448c948497cf25a3 (diff)
zebra: convert PW updates to async dataplane
Add accessors for pw attributes; init pw attributes; replace 'hook' calls for pw install/uninstall with dplane apis. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rt.h')
-rw-r--r--zebra/rt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index 0b14a3ef36..80b0b502b6 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -32,7 +32,7 @@
#include "zebra/zebra_dplane.h"
/*
- * Update or delete a route or LSP from the kernel,
+ * Update or delete a route, LSP, or pseudowire from the kernel,
* using info from a dataplane context.
*/
extern enum zebra_dplane_result kernel_route_update(
@@ -41,6 +41,8 @@ extern enum zebra_dplane_result kernel_route_update(
extern enum zebra_dplane_result kernel_lsp_update(
struct zebra_dplane_ctx *ctx);
+enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx);
+
extern int kernel_address_add_ipv4(struct interface *, struct connected *);
extern int kernel_address_delete_ipv4(struct interface *, struct connected *);
extern int kernel_address_add_ipv6(struct interface *, struct connected *);