]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/rt_socket.c
Merge pull request #4877 from mjstapp/dplane_neighs
[mirror_frr.git] / zebra / rt_socket.c
index ea3b2b6ad8fff36a5b72860421e5737c58d63742..f8ce71713a798f200ee6f68e7a6986844fe2d2df 100644 (file)
@@ -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)
 {