diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-07-30 11:54:07 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-08-02 14:54:16 -0400 | 
| commit | 036d93c04731308891ac60feadd81ed913fd80e2 (patch) | |
| tree | c0f6e6d6316d62d443f9b95c731182906110336b /zebra/rt.h | |
| parent | 7597ac7b4d478c6bc47b109752b2ed515c7986b7 (diff) | |
zebra: use dataplane for vxlan remote mac programming
Move vxlan remote MAC install and uninstall to the async
dataplane.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rt.h')
| -rw-r--r-- | zebra/rt.h | 10 | 
1 files changed, 3 insertions, 7 deletions
diff --git a/zebra/rt.h b/zebra/rt.h index 04576671fe..727d2d0c55 100644 --- a/zebra/rt.h +++ b/zebra/rt.h @@ -41,7 +41,7 @@ extern "C" {  	((RKERNEL_ROUTE(type)) || (type) == ZEBRA_ROUTE_CONNECT)  /* - * Update or delete a route, LSP, or pseudowire from the kernel, + * Update or delete a route, LSP, pseudowire, or vxlan MAC from the kernel,   * using info from a dataplane context.   */  extern enum zebra_dplane_result kernel_route_update( @@ -55,6 +55,8 @@ enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx);  enum zebra_dplane_result kernel_address_update_ctx(  	struct zebra_dplane_ctx *ctx); +enum zebra_dplane_result kernel_mac_update_ctx(struct zebra_dplane_ctx *ctx); +  extern int kernel_neigh_update(int cmd, int ifindex, uint32_t addr, char *lla,  			       int llalen, ns_id_t ns_id);  extern int kernel_interface_set_master(struct interface *master, @@ -68,12 +70,6 @@ extern int kernel_add_vtep(vni_t vni, struct interface *ifp,  			   struct in_addr *vtep_ip);  extern int kernel_del_vtep(vni_t vni, struct interface *ifp,  			   struct in_addr *vtep_ip); -extern int kernel_add_mac(struct interface *ifp, vlanid_t vid, -			  struct ethaddr *mac, struct in_addr vtep_ip, -			  bool sticky); -extern int kernel_del_mac(struct interface *ifp, vlanid_t vid, -			  struct ethaddr *mac, struct in_addr vtep_ip); -  extern int kernel_add_neigh(struct interface *ifp, struct ipaddr *ip,  			    struct ethaddr *mac, uint8_t flags);  extern int kernel_del_neigh(struct interface *ifp, struct ipaddr *ip);  | 
