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/rt_netlink.h | |
| 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/rt_netlink.h')
| -rw-r--r-- | zebra/rt_netlink.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/rt_netlink.h b/zebra/rt_netlink.h index cefd1996a9..01f5556478 100644 --- a/zebra/rt_netlink.h +++ b/zebra/rt_netlink.h @@ -24,6 +24,7 @@  #ifdef HAVE_NETLINK  #include "zebra/zebra_mpls.h" +#include "zebra/zebra_dplane.h"  #define NL_DEFAULT_ROUTE_METRIC 20 @@ -60,6 +61,9 @@ void rt_netlink_init(void);  extern int netlink_mpls_multipath(int cmd, zebra_lsp_t *lsp); +/* MPLS label forwarding table change, using dataplane context information. */ +extern int netlink_mpls_multipath_ctx(int cmd, struct zebra_dplane_ctx *ctx); +  extern int netlink_route_change(struct nlmsghdr *h, ns_id_t ns_id, int startup);  extern int netlink_route_read(struct zebra_ns *zns);  | 
