Home
last modified time | relevance | path

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

/Linux-v5.4/include/uapi/linux/
Dif_packet.h165 struct tpacket3_hdr { struct
249 #define TPACKET3_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket3_hdr)) + sizeof(struct sockaddr_ll))
/Linux-v5.4/tools/testing/selftests/net/
Dpsock_tpacket.c301 static inline int __v3_tx_kernel_ready(struct tpacket3_hdr *hdr) in __v3_tx_kernel_ready()
306 static inline void __v3_tx_user_ready(struct tpacket3_hdr *hdr) in __v3_tx_user_ready()
446 struct tpacket3_hdr *tx = next; in walk_tx()
547 struct tpacket3_hdr *ppd; in __v3_walk_block()
551 ppd = (struct tpacket3_hdr *) ((uint8_t *) pbd + in __v3_walk_block()
567 ppd = (struct tpacket3_hdr *) ((uint8_t *) ppd + ppd->tp_next_offset); in __v3_walk_block()
/Linux-v5.4/net/packet/
Daf_packet.c160 struct tpacket3_hdr *h3;
200 static void prb_fill_rxhash(struct tpacket_kbdq_core *, struct tpacket3_hdr *);
202 struct tpacket3_hdr *);
204 struct tpacket3_hdr *);
757 struct tpacket3_hdr *last_pkt; in prb_close_block()
764 last_pkt = (struct tpacket3_hdr *)pkc1->prev; in prb_close_block()
949 struct tpacket3_hdr *ppd) in prb_fill_rxhash()
955 struct tpacket3_hdr *ppd) in prb_clear_rxhash()
961 struct tpacket3_hdr *ppd) in prb_fill_vlan_info()
975 struct tpacket3_hdr *ppd) in prb_run_all_ft_ops()
[all …]
/Linux-v5.4/Documentation/networking/
Dpacket_mmap.txt566 use tpacket3_hdr instead of tpacket2_hdr, and TPACKET3_HDRLEN
568 the tp_next_offset field in the tpacket3_hdr MUST be set to
865 static void display(struct tpacket3_hdr *ppd)
896 struct tpacket3_hdr *ppd;
898 ppd = (struct tpacket3_hdr *) ((uint8_t *) pbd +
904 ppd = (struct tpacket3_hdr *) ((uint8_t *) ppd +