logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                                    rte_gtp.h(3)

Detailed Description

       GTP-related defines

       Definition in file rte_gtp.h.

Macro Definition Documentation

#defineRTE_ETHER_GTP_HLEN(sizeof(structrte_udp_hdr)+sizeof(structrte_gtp_hdr))
       GTP header length

       Definition at line 140 of file rte_gtp.h.

   #defineRTE_GTP_TYPE_IPV40x40
       GTP next protocol type IPv4

       Definition at line 143 of file rte_gtp.h.

   #defineRTE_GTP_TYPE_IPV60x60
       GTP next protocol type IPv6

       Definition at line 144 of file rte_gtp.h.

   #defineRTE_GTPC_UDP_PORT2123
       GTP-C UDP destination port

       Definition at line 146 of file rte_gtp.h.

   #defineRTE_GTPU_UDP_PORT2152
       GTP-U UDP destination port

       Definition at line 147 of file rte_gtp.h.

Name

       rte_gtp.h

Synopsis

       #include <stdint.h>
       #include <rte_byteorder.h>

   DataStructures
       struct rte_gtp_hdr
       struct rte_gtp_psc_generic_hdr
       struct rte_gtp_psc_type0_hdr
       struct rte_gtp_psc_type1_hdrMacros
       #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

See Also