CNDP  22.08.0
cne_gtp.h File Reference
#include <stdint.h>
#include <cne_byteorder.h>

Go to the source code of this file.

Data Structures

struct  cne_gtp_hdr
 

Macros

#define CNE_ETHER_GTP_HLEN   (sizeof(struct cne_udp_hdr) + sizeof(struct cne_gtp_hdr))
 
#define CNE_GTP_TYPE_IPV4   0x40
 
#define CNE_GTP_TYPE_IPV6   0x60
 
#define CNE_GTPC_UDP_PORT   2123
 
#define CNE_GTPU_UDP_PORT   2152
 

Detailed Description

GTP-related defines

Definition in file cne_gtp.h.

Macro Definition Documentation

◆ CNE_ETHER_GTP_HLEN

#define CNE_ETHER_GTP_HLEN   (sizeof(struct cne_udp_hdr) + sizeof(struct cne_gtp_hdr))

GTP header length

Definition at line 38 of file cne_gtp.h.

◆ CNE_GTP_TYPE_IPV4

#define CNE_GTP_TYPE_IPV4   0x40

GTP next protocol type IPv4

Definition at line 40 of file cne_gtp.h.

◆ CNE_GTP_TYPE_IPV6

#define CNE_GTP_TYPE_IPV6   0x60

GTP next protocol type IPv6

Definition at line 41 of file cne_gtp.h.

◆ CNE_GTPC_UDP_PORT

#define CNE_GTPC_UDP_PORT   2123

GTP-C UDP destination port

Definition at line 43 of file cne_gtp.h.

◆ CNE_GTPU_UDP_PORT

#define CNE_GTPU_UDP_PORT   2152

GTP-U UDP destination port

Definition at line 44 of file cne_gtp.h.