Searched refs:macoff (Results 1 – 1 of 1) sorted by relevance
2213 unsigned short macoff, hdrlen; in tpacket_rcv() local2269 macoff = netoff = TPACKET_ALIGN(po->tp_hdrlen) + 16 + in tpacket_rcv()2280 macoff = netoff - maclen; in tpacket_rcv()2287 if (macoff + snaplen > po->rx_ring.frame_size) { in tpacket_rcv()2302 snaplen = po->rx_ring.frame_size - macoff; in tpacket_rcv()2308 } else if (unlikely(macoff + snaplen > in tpacket_rcv()2312 nval = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len - macoff; in tpacket_rcv()2314 snaplen, nval, macoff); in tpacket_rcv()2318 macoff = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len; in tpacket_rcv()2324 TP_STATUS_KERNEL, (macoff+snaplen)); in tpacket_rcv()[all …]