diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2020-04-06 14:19:54 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-04-17 11:28:14 +0000 |
commit | 206acf84d6a04590e385f427edba1094c3bdf195 (patch) | |
tree | c724f0d2fedd494e163394a6a339c18dc72c0a37 /src/vnet/devices/tap/tap.h | |
parent | 95eb01fdc65b692065ace6d76870d8cc9f3e2c84 (diff) |
tap: add initial support for tun
Type: feature
Change-Id: I699a01ac925fe5c475a36032edb7018618bb4dd4
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/tap/tap.h')
-rw-r--r-- | src/vnet/devices/tap/tap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/devices/tap/tap.h b/src/vnet/devices/tap/tap.h index 5d087ad9da5..c1ac7a61229 100644 --- a/src/vnet/devices/tap/tap.h +++ b/src/vnet/devices/tap/tap.h @@ -35,6 +35,7 @@ typedef struct #define TAP_FLAG_CSUM_OFFLOAD (1 << 1) #define TAP_FLAG_PERSIST (1 << 2) #define TAP_FLAG_ATTACH (1 << 3) +#define TAP_FLAG_TUN (1 << 4) u8 *host_namespace; u8 *host_if_name; mac_address_t host_mac_addr; |