X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdevices%2Ftap%2Ftap.h;h=45ff1d9910e4117d5285d8aabc483d1402bb2cf4;hb=97d54ed43eb69f6ea731c02305ebe0ca0b1a5cc4;hp=745f9fca30475648286cd0ede1fe956b068e8b11;hpb=3a9f11e6d93c9839c7bb0aaa62662299165123d8;p=vpp.git diff --git a/src/vnet/devices/tap/tap.h b/src/vnet/devices/tap/tap.h index 745f9fca304..45ff1d9910e 100644 --- a/src/vnet/devices/tap/tap.h +++ b/src/vnet/devices/tap/tap.h @@ -43,6 +43,8 @@ typedef struct u8 host_ip6_prefix_len; ip6_address_t host_ip6_gw; u8 host_ip6_gw_set; + u8 host_mtu_set; + u32 host_mtu_size; /* return */ u32 sw_if_index; int rv; @@ -66,6 +68,7 @@ typedef struct u8 host_ip4_prefix_len; u8 host_ip6_addr[16]; u8 host_ip6_prefix_len; + u32 host_mtu_size; } tap_interface_details_t; typedef struct @@ -75,6 +78,9 @@ typedef struct /* bit-map of in-use IDs */ uword *tap_ids; + + /* host mtu size, configurable through startup.conf */ + int host_mtu_size; } tap_main_t; void tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args);