Skip to contentSkip to conversation

ethdev: fix ESP packet type description

PATCH Applied Alexander Kozyrev 3 participants 3 messages Oct 25, 2023 – Nov 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ethdev: fix ESP packet type description

The correct protocol number for ESP (IP Encapsulating Security Payload) packet type is 50. 51 is IPSec AH (Authentication Header).

Fixes 1e84afd3906b ("mbuf: add security crypto flags and fields")
---
 lib/mbuf/rte_mbuf_ptype.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/mbuf/rte_mbuf_ptype.h +2 -2
index 17a2dd3576..f2276e2909 100644
@@ -419,10 +419,10 @@ extern "C" {
  *
  * Packet format:
  * <'ether type'=0x0800
- * | 'version'=4, 'protocol'=51>
+ * | 'version'=4, 'protocol'=50>
  * or,
  * <'ether type'=0x86DD
- * | 'version'=6, 'next header'=51>
+ * | 'version'=6, 'next header'=50>
  */
 #define RTE_PTYPE_TUNNEL_ESP                0x00009000
 /**
Signature · 1 line
2.18.2