Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/net/
Dpsock_tpacket.c260 ppd.v1->tp_h.tp_snaplen); in walk_v1_v2_rx()
261 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_v1_v2_rx()
266 ppd.v2->tp_h.tp_snaplen); in walk_v1_v2_rx()
267 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_v1_v2_rx()
441 ppd.v1->tp_h.tp_snaplen = packet_len; in walk_tx()
447 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_tx()
451 ppd.v2->tp_h.tp_snaplen = packet_len; in walk_tx()
457 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_tx()
462 tx->tp_snaplen = packet_len; in walk_tx()
469 total_bytes += tx->tp_snaplen; in walk_tx()
[all …]
/Linux-v4.19/include/uapi/linux/
Dif_packet.h98 __u32 tp_snaplen; member
133 unsigned int tp_snaplen; member
147 __u32 tp_snaplen; member
168 __u32 tp_snaplen; member
/Linux-v4.19/net/packet/
Daf_packet.c2291 h.h1->tp_snaplen = snaplen; in tpacket_rcv()
2300 h.h2->tp_snaplen = snaplen; in tpacket_rcv()
2322 h.h3->tp_snaplen = snaplen; in tpacket_rcv()
3371 aux.tp_snaplen = skb->len; in packet_recvmsg()
/Linux-v4.19/Documentation/networking/
Dpacket_mmap.txt901 bytes += ppd->tp_snaplen;