summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/tap/tapv2.api
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2020-02-14 17:51:04 +0000
committerDamjan Marion <dmarion@me.com>2020-03-05 11:09:19 +0000
commitb49bc1ae6404f0dff373578786a9fd95d961e5cd (patch)
tree448558e4c18d5fbb6996cfaed793f9f91aecb055 /src/vnet/devices/tap/tapv2.api
parentea2abbaeaf34a4652e970fd1e2f60c0d377ebde4 (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/tapv2.api')
-rw-r--r--src/vnet/devices/tap/tapv2.api2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/devices/tap/tapv2.api b/src/vnet/devices/tap/tapv2.api
index 861fe170959..ccbbe158160 100644
--- a/src/vnet/devices/tap/tapv2.api
+++ b/src/vnet/devices/tap/tapv2.api
@@ -28,6 +28,8 @@ import "vnet/ip/ip_types.api";
enum tap_flags {
TAP_FLAG_GSO = 1,
TAP_FLAG_CSUM_OFFLOAD = 2,
+ TAP_FLAG_PERSIST = 4,
+ TAP_FLAG_ATTACH = 8,
};
/** \brief Initialize a new tap interface with the given parameters