DPDK  19.11.10
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
 

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 38 of file rte_gtp.h.

◆ RTE_GTP_TYPE_IPV4

#define RTE_GTP_TYPE_IPV4   0x40

GTP next protocal type IPv4

Definition at line 41 of file rte_gtp.h.

◆ RTE_GTP_TYPE_IPV6

#define RTE_GTP_TYPE_IPV6   0x60

GTP next protocal type IPv6

Definition at line 42 of file rte_gtp.h.

◆ RTE_GTPC_UDP_PORT

#define RTE_GTPC_UDP_PORT   2123

GTP-C UDP destination port

Definition at line 44 of file rte_gtp.h.

◆ RTE_GTPU_UDP_PORT

#define RTE_GTPU_UDP_PORT   2152

GTP-U UDP destination port

Definition at line 45 of file rte_gtp.h.