Home
last modified time | relevance | path

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

/linux-6.12.1/net/packet/
Daf_packet.c2306 unsigned short macoff, hdrlen; in tpacket_rcv() local
2363 macoff = netoff = TPACKET_ALIGN(po->tp_hdrlen) + 16 + in tpacket_rcv()
2373 macoff = netoff - maclen; in tpacket_rcv()
2380 if (macoff + snaplen > po->rx_ring.frame_size) { in tpacket_rcv()
2395 snaplen = po->rx_ring.frame_size - macoff; in tpacket_rcv()
2401 } else if (unlikely(macoff + snaplen > in tpacket_rcv()
2405 nval = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len - macoff; in tpacket_rcv()
2407 snaplen, nval, macoff); in tpacket_rcv()
2411 macoff = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len; in tpacket_rcv()
2417 TP_STATUS_KERNEL, (macoff+snaplen)); in tpacket_rcv()
[all …]