summaryrefslogtreecommitdiff
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-08-23 13:59:10 -0400
committerMark Stapp <mjs@voltanet.io>2019-08-23 14:10:41 -0400
commit931fa60c093f2bf0db238e783d756912bfacad13 (patch)
tree7a7ac0fa36e6ec53862fa4097629f1f45161b0da /zebra/rt_socket.c
parenta9e08ebce1afaa9b509024d116eeccc7ab6a479b (diff)
zebra: Use dataplane for evpn neighbor changes
Move neighbor programming to the dataplane; remove old apis; remove some ifdef'd use of direct netlink code points, using neutral values outside of the netlink- specific files. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r--zebra/rt_socket.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index 7e9a42a617..62675f8daf 100644
--- a/zebra/rt_socket.c
+++ b/zebra/rt_socket.c
@@ -371,6 +371,12 @@ int kernel_neigh_update(int add, int ifindex, uint32_t addr, char *lla,
return 0;
}
+/* NYI on routing-socket platforms, but we've always returned 'success'... */
+enum zebra_dplane_result kernel_neigh_update_ctx(struct zebra_dplane_ctx *ctx)
+{
+ return ZEBRA_DPLANE_REQUEST_SUCCESS;
+}
+
extern int kernel_get_ipmr_sg_stats(struct zebra_vrf *zvrf, void *mroute)
{
return 0;
@@ -394,17 +400,6 @@ enum zebra_dplane_result kernel_mac_update_ctx(struct zebra_dplane_ctx *ctx)
return ZEBRA_DPLANE_REQUEST_SUCCESS;
}
-int kernel_add_neigh(struct interface *ifp, struct ipaddr *ip,
- struct ethaddr *mac, uint8_t flags)
-{
- return 0;
-}
-
-int kernel_del_neigh(struct interface *ifp, struct ipaddr *ip)
-{
- return 0;
-}
-
extern int kernel_interface_set_master(struct interface *master,
struct interface *slave)
{