zebra: Stub rt_socket functions for L2 NHG programming

Stub functions to keep the BSD builds working. No new functionality.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
This commit is contained in:
Anuradha Karuppiah 2020-04-17 14:59:29 -07:00
parent 374b316c1c
commit 265fa78dad

View File

@ -417,4 +417,25 @@ uint32_t kernel_get_speed(struct interface *ifp, int *error)
return ifp->speed;
}
int kernel_upd_mac_nh(uint32_t nh_id, struct in_addr vtep_ip)
{
return 0;
}
int kernel_del_mac_nh(uint32_t nh_id)
{
return 0;
}
int kernel_upd_mac_nhg(uint32_t nhg_id, uint32_t nh_cnt,
struct nh_grp *nh_ids)
{
return 0;
}
int kernel_del_mac_nhg(uint32_t nhg_id)
{
return 0;
}
#endif /* !HAVE_NETLINK */