/
phprus
/
github_dpdk
Обзор
Документация
Войти
/
phprus
/
github_dpdk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lib/net/rte_ppp.h
26 строк
465 B
Andre Muezerie
lib: replace packed attributes
15 янв 2025, 14:02
15 янв 2025, 14:02
fba9875
Код
Авторство
О чём код?
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2021 Intel Corporation. */ #ifndef _RTE_PPP_H_ #define _RTE_PPP_H_ /** * @file * * PPP headers definition. */ #include <stdint.h> #include <rte_byteorder.h> /** * PPP Header */ struct __rte_packed_begin rte_ppp_hdr { uint8_t addr; /**< PPP address(8) */ uint8_t ctrl; /**< PPP control(8) */ rte_be16_t proto_id; /**< PPP protocol identifier(16) */ } __rte_packed_end; #endif /* _RTE_PPP_H_ */