summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/vnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/vnet.h')
-rw-r--r--vnet/vnet/vnet.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vnet/vnet/vnet.h b/vnet/vnet/vnet.h
index 31faef7cbb9..a3cbd37903c 100644
--- a/vnet/vnet/vnet.h
+++ b/vnet/vnet/vnet.h
@@ -50,6 +50,13 @@ typedef enum
VNET_N_IP_FEAT,
} vnet_cast_t;
+#define VNET_CAST_NAMES { \
+ [VNET_IP_RX_UNICAST_FEAT] = "rx-unicast", \
+ [VNET_IP_RX_MULTICAST_FEAT] = "rx-multicast", \
+ [VNET_IP_TX_FEAT] = "tx", \
+}
+
+
#include <vnet/unix/pcap.h>
#include <vnet/buffer.h>
#include <vnet/config.h>