From 7866c4595b65f54f491ffc4e92b1f8cf94d6f142 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 18 Jan 2018 13:35:11 +0100 Subject: tapv2: add option to set host-side default gw Change-Id: I76fd655ecd9445299b94b3b5af10e7b1588584e4 Signed-off-by: Damjan Marion --- src/vnet/devices/tap/tap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vnet/devices/tap/tap.h') diff --git a/src/vnet/devices/tap/tap.h b/src/vnet/devices/tap/tap.h index 35f7a018237..98af0d8f3ab 100644 --- a/src/vnet/devices/tap/tap.h +++ b/src/vnet/devices/tap/tap.h @@ -35,8 +35,12 @@ typedef struct u8 *host_bridge; ip4_address_t host_ip4_addr; u8 host_ip4_prefix_len; + ip4_address_t host_ip4_gw; + u8 host_ip4_gw_set; ip6_address_t host_ip6_addr; u8 host_ip6_prefix_len; + ip6_address_t host_ip6_gw; + u8 host_ip6_gw_set; /* return */ u32 sw_if_index; int rv; -- cgit 1.2.3-korg