Helper Reference Manual
1.7.1
gtp.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2020 Marvell
3
*/
4
10
#ifndef _ODPH_GTP_H_
11
#define _ODPH_GTP_H_
12
13
#include <odp_api.h>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
30
typedef
struct
ODP_PACKED
{
31
uint8_t
gtp_hdr_info
;
32
uint8_t
msg_type
;
33
odp_u16be_t
plen
;
34
odp_u32be_t
teid
;
35
}
odph_gtphdr_t
;
36
38
#define ODPH_GTP_HLEN sizeof(odph_gtphdr_t)
39
44
#ifdef __cplusplus
45
}
46
#endif
47
48
#endif
/* ODP_GTP_H_ */
odph_gtphdr_t
struct ODP_PACKED odph_gtphdr_t
Simplified GTP protocol header.
ODP_PACKED
Ethernet MAC address.
Definition:
eth.h:54
ODP_PACKED::gtp_hdr_info
uint8_t gtp_hdr_info
GTP header info.
Definition:
gtp.h:31
ODP_PACKED::teid
odp_u32be_t teid
Tunnel endpoint ID.
Definition:
gtp.h:34
ODP_PACKED::msg_type
uint8_t msg_type
GTP message type.
Definition:
gtp.h:32
ODP_PACKED::plen
odp_u16be_t plen
Total payload length.
Definition:
gtp.h:33
helper
include
odp
helper
gtp.h
Generated by
1.9.1