DPDK
22.11.6
lib
net
rte_ppp.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2021 Intel Corporation.
3
*/
4
5
#ifndef _RTE_PPP_H_
6
#define _RTE_PPP_H_
7
14
#include <stdint.h>
15
#include <
rte_byteorder.h
>
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
24
struct
rte_ppp_hdr
{
25
uint8_t
addr
;
26
uint8_t
ctrl
;
27
rte_be16_t
proto_id
;
28
}
__rte_packed
;
29
30
#ifdef __cplusplus
31
}
32
#endif
33
34
#endif
/* _RTE_PPP_H_ */
rte_byteorder.h
rte_be16_t
uint16_t rte_be16_t
Definition:
rte_byteorder.h:110
__rte_packed
#define __rte_packed
Definition:
rte_common.h:83
rte_ppp_hdr
Definition:
rte_ppp.h:24
rte_ppp_hdr::ctrl
uint8_t ctrl
Definition:
rte_ppp.h:26
rte_ppp_hdr::proto_id
rte_be16_t proto_id
Definition:
rte_ppp.h:27
rte_ppp_hdr::addr
uint8_t addr
Definition:
rte_ppp.h:25
Generated by
1.9.4