Searched refs:macoff (Results 1 – 1 of 1) sorted by relevance
2248 unsigned short macoff, hdrlen; in tpacket_rcv() local2306 macoff = netoff = TPACKET_ALIGN(po->tp_hdrlen) + 16 + in tpacket_rcv()2316 macoff = netoff - maclen; in tpacket_rcv()2323 if (macoff + snaplen > po->rx_ring.frame_size) { in tpacket_rcv()2338 snaplen = po->rx_ring.frame_size - macoff; in tpacket_rcv()2344 } else if (unlikely(macoff + snaplen > in tpacket_rcv()2348 nval = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len - macoff; in tpacket_rcv()2350 snaplen, nval, macoff); in tpacket_rcv()2354 macoff = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len; in tpacket_rcv()2360 TP_STATUS_KERNEL, (macoff+snaplen)); in tpacket_rcv()[all …]