diff options
| author | Mark Stapp <mjs@voltanet.io> | 2018-10-23 10:57:01 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-01-22 12:02:20 -0500 |
| commit | 16c628de99517efe4c9f960ca7423bc86ac7d5c4 (patch) | |
| tree | 9d742eaa01d9ebc35a7f78ac93547b04cbd22be7 /zebra/zebra_mpls_null.c | |
| parent | d4cb23d7bcb876f6022dd7fe65265a38ed0ddcda (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_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 02ec506d84..eed0610b64 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) */ |
