]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mbuf/rte_mbuf_ptype.h
mbuf: add security crypto flags and fields
[dpdk.git] / lib / librte_mbuf / rte_mbuf_ptype.h
index 978c4a274211c5062d5b4f5d9bb169684b8b3d70..5c62435ce299e6a94bd422b49e4d2b8dbf181261 100644 (file)
@@ -414,6 +414,17 @@ extern "C" {
  * | 'destination port'=2152>
  */
 #define RTE_PTYPE_TUNNEL_GTPU               0x00008000
+/**
+ * ESP (IP Encapsulating Security Payload) tunneling packet type.
+ *
+ * Packet format:
+ * <'ether type'=0x0800
+ * | 'version'=4, 'protocol'=51>
+ * or,
+ * <'ether type'=0x86DD
+ * | 'version'=6, 'next header'=51>
+ */
+#define RTE_PTYPE_TUNNEL_ESP                0x00009000
 /**
  * Mask of tunneling packet types.
  */