diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2020-02-14 17:51:04 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-03-05 11:09:19 +0000 |
commit | b49bc1ae6404f0dff373578786a9fd95d961e5cd (patch) | |
tree | 448558e4c18d5fbb6996cfaed793f9f91aecb055 /src/vnet/devices/tap/tap.h | |
parent | ea2abbaeaf34a4652e970fd1e2f60c0d377ebde4 (diff) |
tap: add support for persistance
Type: feature
Change-Id: I775f53531972447ebae0d69b9e2dfeee84d115e5
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/devices/tap/tap.h b/src/vnet/devices/tap/tap.h index fd4006b5d52..5d087ad9da5 100644 --- a/src/vnet/devices/tap/tap.h +++ b/src/vnet/devices/tap/tap.h @@ -33,6 +33,8 @@ typedef struct u32 tap_flags; #define TAP_FLAG_GSO (1 << 0) #define TAP_FLAG_CSUM_OFFLOAD (1 << 1) +#define TAP_FLAG_PERSIST (1 << 2) +#define TAP_FLAG_ATTACH (1 << 3) u8 *host_namespace; u8 *host_if_name; mac_address_t host_mac_addr; |