aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/tap/tap.h
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2019-01-07 20:56:46 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-01-07 21:59:10 +0000
commit754f24b35946021bb5e648c2bbf772791afe6e20 (patch)
tree5279f1c70ba93a42d1198d5aa49c764559de0e9a /src/vnet/devices/tap/tap.h
parentd2bfb78f4f8fbfae204424467a4106530b89e608 (diff)
tapv2: add "tap_flags" field to the TAPv2 interface API
Change-Id: I26f99d95f52c9fe107d17dcbbf5c6185523beade Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vnet/devices/tap/tap.h')
-rw-r--r--src/vnet/devices/tap/tap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/devices/tap/tap.h b/src/vnet/devices/tap/tap.h
index 7aebade59c7..19dc88dd7c6 100644
--- a/src/vnet/devices/tap/tap.h
+++ b/src/vnet/devices/tap/tap.h
@@ -29,6 +29,7 @@ typedef struct
u8 mac_addr[6];
u16 rx_ring_sz;
u16 tx_ring_sz;
+ u32 tap_flags;
u8 *host_namespace;
u8 *host_if_name;
u8 host_mac_addr[6];
@@ -52,6 +53,7 @@ typedef struct
{
u32 id;
u32 sw_if_index;
+ u32 tap_flags;
u8 dev_name[64];
u16 tx_ring_sz;
u16 rx_ring_sz;