summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls_openbsd.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-10-23 10:57:01 -0400
committerMark Stapp <mjs@voltanet.io>2019-01-22 12:02:20 -0500
commit16c628de99517efe4c9f960ca7423bc86ac7d5c4 (patch)
tree9d742eaa01d9ebc35a7f78ac93547b04cbd22be7 /zebra/zebra_mpls_openbsd.c
parentd4cb23d7bcb876f6022dd7fe65265a38ed0ddcda (diff)
zebra: infra for LSP updates using dplane
Adding infra to zebra dplane to support LSP updates. Add kernel api for LSP updates that uses a dataplane context; add stub apis for netlink, bsd, and 'null' kernel paths. Add version of netlink mpls update code that takes a dplane context struct instead of a zebra lsp struct. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_mpls_openbsd.c')
-rw-r--r--zebra/zebra_mpls_openbsd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/zebra_mpls_openbsd.c b/zebra/zebra_mpls_openbsd.c
index 60f944b844..2549ab947c 100644
--- a/zebra/zebra_mpls_openbsd.c
+++ b/zebra/zebra_mpls_openbsd.c
@@ -343,6 +343,11 @@ enum zebra_dplane_result kernel_del_lsp(zebra_lsp_t *lsp)
return ZEBRA_DPLANE_REQUEST_SUCCESS;
}
+enum zebra_dplane_result kernel_lsp_update(struct zebra_dplane_ctx *ctx)
+{
+ return ZEBRA_DPLANE_REQUEST_FAILURE;
+}
+
static int kmpw_install(struct zebra_pw *pw)
{
struct ifreq ifr;