Fix ERSPAN encap to set EN bits in the header and add test case
[vpp.git] / src / vnet / gre / packet.h
index 034a611..bbd67d5 100644 (file)
@@ -160,6 +160,9 @@ typedef CLIB_PACKED (struct {
 
 /* *INDENT-ON* */
 
+/* u64 template for ERSPAN type 2 header with both EN bits set */
+#define ERSPAN_HDR2 0x1000180000000000ul
+
 #endif /* included_vnet_gre_packet_h */
 
 /*