summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/tap/tap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/devices/tap/tap.h')
-rw-r--r--src/vnet/devices/tap/tap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/devices/tap/tap.h b/src/vnet/devices/tap/tap.h
index 6e46302770d..7aebade59c7 100644
--- a/src/vnet/devices/tap/tap.h
+++ b/src/vnet/devices/tap/tap.h
@@ -67,11 +67,11 @@ typedef struct
typedef struct
{
- u32 last_used_interface_id;
- uword *dev_instance_by_interface_id;
-
/* logging */
vlib_log_class_t log_default;
+
+ /* bit-map of in-use IDs */
+ uword *tap_ids;
} tap_main_t;
void tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args);