summaryrefslogtreecommitdiff
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-08-29 11:42:52 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 11:13:43 -0400
commit07cc1745ff0db626e7e9adc8d18c2372de62a23d (patch)
treea85e97f50d32b7c94c47b619792b98144dec1b85 /zebra/rt_socket.c
parent62b045d6c56ef4d1edef9f19228c7e9667c0d6a7 (diff)
zebra: Add bsd nexthop install boilerplate
Add some boilerplate for nexthop installation for bsd kernels. They do not support nexthop objects for now so its just boilerplate. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r--zebra/rt_socket.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index 981ef7a889..73b3dd0b40 100644
--- a/zebra/rt_socket.c
+++ b/zebra/rt_socket.c
@@ -364,6 +364,11 @@ enum zebra_dplane_result kernel_route_update(struct zebra_dplane_ctx *ctx)
return res;
}
+enum zebra_dplane_result kernel_nexthop_update(struct zebra_dplane_ctx *ctx)
+{
+ return ZEBRA_DPLANE_REQUEST_SUCCESS;
+}
+
int kernel_neigh_update(int add, int ifindex, uint32_t addr, char *lla,
int llalen, ns_id_t ns_id)
{