Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dpsock_tpacket.c91 struct tpacket2_hdr tp_h __aligned_tpacket;
92 struct sockaddr_ll s_ll __align_tpacket(sizeof(struct tpacket2_hdr));
184 static inline int __v2_rx_kernel_ready(struct tpacket2_hdr *hdr) in __v2_rx_kernel_ready()
189 static inline void __v2_rx_user_ready(struct tpacket2_hdr *hdr) in __v2_rx_user_ready()
290 static inline int __v2_tx_kernel_ready(struct tpacket2_hdr *hdr) in __v2_tx_kernel_ready()
295 static inline void __v2_tx_user_ready(struct tpacket2_hdr *hdr) in __v2_tx_user_ready()
H A Dpsock_fanout.c210 struct tpacket2_hdr *header = ring; in sock_fanout_read_ring()
/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.h145 struct tpacket2_hdr { struct
248 #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll))
/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.h145 struct tpacket2_hdr { struct
248 #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll))
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_packet.h146 struct tpacket2_hdr { struct
249 #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll))
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dpacket_mmap.rst564 in the tpacket2_hdr structure:
573 1. Replace struct tpacket_hdr by struct tpacket2_hdr
593 use tpacket3_hdr instead of tpacket2_hdr, and TPACKET3_HDRLEN
/OK3568_Linux_fs/kernel/net/packet/
H A Daf_packet.c163 struct tpacket2_hdr *h2;
4046 val = sizeof(struct tpacket2_hdr); in packet_getsockopt()