Searched refs:netoff (Results 1 - 3 of 3) sorted by relevance

/linux-master/net/ipv4/
H A Dip_fragment.c515 int netoff; local
521 netoff = skb_network_offset(skb);
523 if (skb_copy_bits(skb, netoff, &iph, sizeof(iph)) < 0)
530 if (skb->len < netoff + len || len < (iph.ihl * 4))
536 if (!pskb_may_pull(skb, netoff + iph.ihl * 4)) {
540 if (pskb_trim_rcsum(skb, netoff + len)) {
/linux-master/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c393 const int netoff = skb_network_offset(skb); local
394 u8 prev_nhoff = netoff + offsetof(struct ipv6hdr, nexthdr);
395 int start = netoff + sizeof(struct ipv6hdr);
/linux-master/net/packet/
H A Daf_packet.c2247 unsigned int netoff; local
2303 macoff = netoff = TPACKET_ALIGN(po->tp_hdrlen) + 16 +
2307 netoff = TPACKET_ALIGN(po->tp_hdrlen +
2312 netoff += vnet_hdr_sz;
2313 macoff = netoff - maclen;
2315 if (netoff > USHRT_MAX) {
2415 h.h1->tp_net = netoff;
2424 h.h2->tp_net = netoff;
2446 h.h3->tp_net = netoff;

Completed in 108 milliseconds