diff options
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.h')
-rw-r--r-- | src/vnet/devices/af_packet/af_packet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.h b/src/vnet/devices/af_packet/af_packet.h index 95c7e7cf5a7..f731427c6b5 100644 --- a/src/vnet/devices/af_packet/af_packet.h +++ b/src/vnet/devices/af_packet/af_packet.h @@ -19,6 +19,8 @@ #include <vppinfra/lock.h> +#define AF_PACKET_USES_VNET_HEADERS 1 + typedef struct { CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); @@ -54,6 +56,7 @@ typedef struct /* hash of host interface names */ mhash_t if_index_by_host_if_name; + u32 flags; } af_packet_main_t; af_packet_main_t af_packet_main; |