Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Dif_packet.h118 struct tpacket_hdr { struct
130 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll)) argument
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c99 struct tpacket_hdr tp_h __aligned_tpacket;
100 struct sockaddr_ll s_ll __align_tpacket(sizeof(struct tpacket_hdr));
185 static inline int __v1_rx_kernel_ready(struct tpacket_hdr *hdr) in __v1_rx_kernel_ready()
190 static inline void __v1_rx_user_ready(struct tpacket_hdr *hdr) in __v1_rx_user_ready()
292 static inline int __v1_tx_kernel_ready(struct tpacket_hdr *hdr) in __v1_tx_kernel_ready()
297 static inline void __v1_tx_user_ready(struct tpacket_hdr *hdr) in __v1_tx_user_ready()
/linux-4.1.27/Documentation/networking/
Dpacket_mmap.txt147 | struct tpacket_hdr | Header. It contains the status of
184 frame base + TPACKET_ALIGN(sizeof(struct tpacket_hdr))
377 header called struct tpacket_hdr used in PACKET_MMAP to hold link level's frame
385 - struct tpacket_hdr
436 struct tpacket_hdr). If this field is 0 means that the frame is ready
560 1. Replace struct tpacket_hdr by struct tpacket2_hdr
565 (void *)hdr + TPACKET_ALIGN(sizeof(struct tpacket_hdr))
/linux-4.1.27/net/packet/
Daf_packet.c162 struct tpacket_hdr *h1;
3540 val = sizeof(struct tpacket_hdr); in packet_getsockopt()