Home
last modified time | relevance | path

Searched refs:tpacket_hdr (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dpsock_tpacket.c87 struct tpacket_hdr tp_h __aligned_tpacket;
88 struct sockaddr_ll s_ll __align_tpacket(sizeof(struct tpacket_hdr));
173 static inline int __v1_rx_kernel_ready(struct tpacket_hdr *hdr) in __v1_rx_kernel_ready()
178 static inline void __v1_rx_user_ready(struct tpacket_hdr *hdr) in __v1_rx_user_ready()
279 static inline int __v1_tx_kernel_ready(struct tpacket_hdr *hdr) in __v1_tx_kernel_ready()
284 static inline void __v1_tx_user_ready(struct tpacket_hdr *hdr) in __v1_tx_user_ready()
H A Dtxring_overwrite.c124 struct tpacket_hdr *header = slot; in send_pkt()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dif_packet.h131 struct tpacket_hdr { struct
143 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll)) argument
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_packet.h131 struct tpacket_hdr { struct
143 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll)) argument
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_packet.h132 struct tpacket_hdr { struct
144 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll)) argument
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dpacket_mmap.rst139 | struct tpacket_hdr | Header. It contains the status of
178 frame base + TPACKET_ALIGN(sizeof(struct tpacket_hdr))
375 header called struct tpacket_hdr used in PACKET_MMAP to hold link level's frame
383 - struct tpacket_hdr
433 struct tpacket_hdr). If this field is 0 means that the frame is ready
573 1. Replace struct tpacket_hdr by struct tpacket2_hdr
578 ``(void *)hdr + TPACKET_ALIGN(sizeof(struct tpacket_hdr))``
/OK3568_Linux_fs/kernel/net/packet/
H A Daf_packet.c162 struct tpacket_hdr *h1;
4043 val = sizeof(struct tpacket_hdr); in packet_getsockopt()