DPDK  24.07.0
Data Structures | Macros
rte_gtp.h File Reference
#include <stdint.h>
#include <rte_byteorder.h>

Go to the source code of this file.

Data Structures

struct  rte_gtp_hdr
 
struct  rte_gtp_psc_generic_hdr
 
struct  rte_gtp_psc_type0_hdr
 
struct  rte_gtp_psc_type1_hdr
 

Macros

#define RTE_ETHER_GTP_HLEN   (sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))
 
#define RTE_GTP_TYPE_IPV4   0x40
 
#define RTE_GTP_TYPE_IPV6   0x60
 
#define RTE_GTPC_UDP_PORT   2123
 
#define RTE_GTPU_UDP_PORT   2152
 

Detailed Description

GTP-related defines

Definition in file rte_gtp.h.

Macro Definition Documentation

◆ RTE_ETHER_GTP_HLEN

#define RTE_ETHER_GTP_HLEN   (sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))

GTP header length

Definition at line 144 of file rte_gtp.h.

◆ RTE_GTP_TYPE_IPV4

#define RTE_GTP_TYPE_IPV4   0x40

GTP next protocol type IPv4

Definition at line 147 of file rte_gtp.h.

◆ RTE_GTP_TYPE_IPV6

#define RTE_GTP_TYPE_IPV6   0x60

GTP next protocol type IPv6

Definition at line 148 of file rte_gtp.h.

◆ RTE_GTPC_UDP_PORT

#define RTE_GTPC_UDP_PORT   2123

GTP-C UDP destination port

Definition at line 150 of file rte_gtp.h.

◆ RTE_GTPU_UDP_PORT

#define RTE_GTPU_UDP_PORT   2152

GTP-U UDP destination port

Definition at line 151 of file rte_gtp.h.