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 8 /** 9 * @file 10 * 11 * PPP headers definition. 12 */ 13 14 #include <stdint.h> 15 #include <rte_byteorder.h> 16 17 /** 18 * PPP Header 19 */ 20 struct __rte_packed_begin rte_ppp_hdr { 21 uint8_t addr; /**< PPP address(8) */ 22 uint8_t ctrl; /**< PPP control(8) */ 23 rte_be16_t proto_id; /**< PPP protocol identifier(16) */ 24 } __rte_packed_end; 25 26 #endif /* _RTE_PPP_H_ */ 27