DPDK  23.07.0
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;
28 } __rte_packed;
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif /* _RTE_PPP_H_ */
uint8_t addr
Definition: rte_ppp.h:25
uint8_t ctrl
Definition: rte_ppp.h:26
rte_be16_t proto_id
Definition: rte_ppp.h:27
#define __rte_packed
Definition: rte_common.h:83
uint16_t rte_be16_t