diff options
author | Damjan Marion <damarion@cisco.com> | 2018-01-18 13:35:11 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-01-18 15:59:06 +0000 |
commit | 7866c4595b65f54f491ffc4e92b1f8cf94d6f142 (patch) | |
tree | 404c981a49256a66e4a95718f426d2040619fe71 /src/vnet/devices/netlink.h | |
parent | 929fb9d75071ef4141b1cac3997f86d9ded0a9ab (diff) |
tapv2: add option to set host-side default gw
Change-Id: I76fd655ecd9445299b94b3b5af10e7b1588584e4
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices/netlink.h')
-rw-r--r-- | src/vnet/devices/netlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/devices/netlink.h b/src/vnet/devices/netlink.h index e8501961a04..0d3e0d23ac6 100644 --- a/src/vnet/devices/netlink.h +++ b/src/vnet/devices/netlink.h @@ -26,6 +26,8 @@ clib_error_t *vnet_netlink_add_ip4_addr (int ifindex, void *addr, int pfx_len); clib_error_t *vnet_netlink_add_ip6_addr (int ifindex, void *addr, int pfx_len); +clib_error_t *vnet_netlink_add_ip4_route (void *dst, u8 dst_len, void *gw); +clib_error_t *vnet_netlink_add_ip6_route (void *dst, u8 dst_len, void *gw); #endif /* included_vnet_device_netlink_h */ |