From 754f24b35946021bb5e648c2bbf772791afe6e20 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Mon, 7 Jan 2019 20:56:46 +0100 Subject: tapv2: add "tap_flags" field to the TAPv2 interface API Change-Id: I26f99d95f52c9fe107d17dcbbf5c6185523beade Signed-off-by: Andrew Yourtchenko --- src/vnet/devices/tap/tap.h | 2 ++ 1 file changed, 2 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 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; -- cgit 1.2.3-korg