summaryrefslogtreecommitdiff
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-04 10:23:31 -0400
committerGitHub <noreply@github.com>2019-09-04 10:23:31 -0400
commitc9042b2890cd344c85186cb733dc1d8cbe411c7a (patch)
tree750745333b96b6b4d5a1a04d07706fd8d78b56d6 /zebra/rt_socket.c
parent628c0de887818853c5f037dddfa7be4ce799043f (diff)
parent931fa60c093f2bf0db238e783d756912bfacad13 (diff)
Merge pull request #4877 from mjstapp/dplane_neighs
zebra: move evpn neighbors to dataplane
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 ea3b2b6ad8..f8ce71713a 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)
{