af_packet: reflect admin device state on host
[vpp.git] / src / vnet / devices / af_packet / af_packet.h
index 77a2c7a..194977f 100644 (file)
@@ -24,6 +24,7 @@ typedef struct
   CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
   clib_spinlock_t lockp;
   u8 *host_if_name;
+  int host_if_index;
   int fd;
   struct tpacket_req *rx_req;
   struct tpacket_req *tx_req;