Helper Reference Manual 1.7.1
Loading...
Searching...
No Matches
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
16extern "C" {
17#endif
18
30typedef struct ODP_PACKED {
31 uint8_t gtp_hdr_info;
32 uint8_t msg_type;
33 odp_u16be_t plen;
34 odp_u32be_t teid;
36
38#define ODPH_GTP_HLEN sizeof(odph_gtphdr_t)
39
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* ODP_GTP_H_ */
struct ODP_PACKED odph_gtphdr_t
Simplified GTP protocol header.
Ethernet MAC address.
Definition eth.h:54
uint8_t gtp_hdr_info
GTP header info.
Definition gtp.h:31
odp_u32be_t teid
Tunnel endpoint ID.
Definition gtp.h:34
uint8_t msg_type
GTP message type.
Definition gtp.h:32
odp_u16be_t plen
Total payload length.
Definition gtp.h:33