diff options
author | Mark Stapp <mjs@voltanet.io> | 2018-10-23 16:57:01 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2019-01-22 18:02:20 +0100 |
commit | 16c628de99517efe4c9f960ca7423bc86ac7d5c4 (patch) | |
tree | 9d742eaa01d9ebc35a7f78ac93547b04cbd22be7 /zebra/zebra_mpls_null.c | |
parent | zebra: add apis to add and delete NHLFEs (diff) | |
download | frr-16c628de99517efe4c9f960ca7423bc86ac7d5c4.tar.xz frr-16c628de99517efe4c9f960ca7423bc86ac7d5c4.zip |
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_null.c')
-rw-r--r-- | zebra/zebra_mpls_null.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/zebra_mpls_null.c b/zebra/zebra_mpls_null.c index 02ec506d8..eed0610b6 100644 --- a/zebra/zebra_mpls_null.c +++ b/zebra/zebra_mpls_null.c @@ -44,4 +44,9 @@ int mpls_kernel_init(void) return -1; }; +enum zebra_dplane_result kernel_lsp_update(struct zebra_dplane_ctx *ctx) +{ + return ZEBRA_DPLANE_REQUEST_FAILURE; +} + #endif /* !defined(HAVE_NETLINK) && !defined(OPEN_BSD) */ |