Searched refs:netoff (Results 1 – 2 of 2) sorted by relevance
503 const int netoff = skb_network_offset(skb); in find_prev_fhdr() local504 u8 prev_nhoff = netoff + offsetof(struct ipv6hdr, nexthdr); in find_prev_fhdr()505 int start = netoff + sizeof(struct ipv6hdr); in find_prev_fhdr()
1720 unsigned short macoff, netoff, hdrlen; in tpacket_rcv() local1755 macoff = netoff = TPACKET_ALIGN(po->tp_hdrlen) + 16 + in tpacket_rcv()1759 netoff = TPACKET_ALIGN(po->tp_hdrlen + in tpacket_rcv()1762 macoff = netoff - maclen; in tpacket_rcv()1829 h.h1->tp_net = netoff; in tpacket_rcv()1838 h.h2->tp_net = netoff; in tpacket_rcv()1858 h.h3->tp_net = netoff; in tpacket_rcv()