DPDK
25.03.0-rc0
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
20
struct
rte_ppp_hdr
{
21
uint8_t
addr
;
22
uint8_t
ctrl
;
23
rte_be16_t
proto_id
;
24
}
__rte_packed
;
25
26
#endif
/* _RTE_PPP_H_ */
rte_byteorder.h
rte_be16_t
uint16_t rte_be16_t
Definition:
rte_byteorder.h:116
__rte_packed
#define __rte_packed
Definition:
rte_common.h:108
rte_ppp_hdr
Definition:
rte_ppp.h:20
rte_ppp_hdr::ctrl
uint8_t ctrl
Definition:
rte_ppp.h:22
rte_ppp_hdr::proto_id
rte_be16_t proto_id
Definition:
rte_ppp.h:23
rte_ppp_hdr::addr
uint8_t addr
Definition:
rte_ppp.h:21
Generated by
1.9.4