Searched refs:macoff (Results 1 – 1 of 1) sorted by relevance
2306 unsigned short macoff, hdrlen; in tpacket_rcv() local2363 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 …]