diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2021-02-26 10:04:25 +0100 | 
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-04-09 18:29:58 +0200 | 
| commit | e18747a9676baf559b244434c0119ada19c4021e (patch) | |
| tree | a25fb259b58f6c25813859159f3191ac9cca1224 /zebra/rt_socket.c | |
| parent | 0a27a2fef5bfd6135d7deed8c0bab6a42e30568a (diff) | |
zebra: move neighbor table configuration to dplane contexts
Instead of directly configuring the neighbor table after read from zapi
interface, a zebra dplane context is prepared to host the interface and
the family where the neighbor table is updated. Also, some other fields
are hosted: app_probes, ucast_probes, and mcast_probes. More information
on those fields can be found on ip-ntable configuration.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/rt_socket.c')
| -rw-r--r-- | zebra/rt_socket.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index cbbc9b28fb..ada828d016 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -394,7 +394,8 @@ enum zebra_dplane_result kernel_mac_update_ctx(struct zebra_dplane_ctx *ctx)  	return ZEBRA_DPLANE_REQUEST_SUCCESS;  } -int kernel_configure_arp(struct interface *ifp, int family, ns_id_t ns_id) +int kernel_configure_if_link(struct interface *ifp, struct interface *link_ifp, +			     ns_id_t ns_id)  {  	return 0;  }  | 
