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/tap/tap.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/tap/tap.h')
-rw-r--r-- | src/vnet/devices/tap/tap.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |