Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/linux/
Dif_packet.h142 struct tpacket2_hdr { struct
245 #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll))
/linux-4.4.14/tools/testing/selftests/net/
Dpsock_tpacket.c103 struct tpacket2_hdr tp_h __aligned_tpacket;
104 struct sockaddr_ll s_ll __align_tpacket(sizeof(struct tpacket2_hdr));
196 static inline int __v2_rx_kernel_ready(struct tpacket2_hdr *hdr) in __v2_rx_kernel_ready()
201 static inline void __v2_rx_user_ready(struct tpacket2_hdr *hdr) in __v2_rx_user_ready()
303 static inline int __v2_tx_kernel_ready(struct tpacket2_hdr *hdr) in __v2_tx_kernel_ready()
308 static inline void __v2_tx_user_ready(struct tpacket2_hdr *hdr) in __v2_tx_user_ready()
Dpsock_fanout.c177 struct tpacket2_hdr *header = ring; in sock_fanout_read_ring()
/linux-4.4.14/Documentation/networking/
Dpacket_mmap.txt554 in the tpacket2_hdr structure:
560 1. Replace struct tpacket_hdr by struct tpacket2_hdr
/linux-4.4.14/net/packet/
Daf_packet.c164 struct tpacket2_hdr *h2;
3776 val = sizeof(struct tpacket2_hdr); in packet_getsockopt()