Lines Matching refs:nhoff
85 int nhoff; in ipv6_gso_segment() local
89 nhoff = skb_network_header(skb) - skb_mac_header(skb); in ipv6_gso_segment()
117 skb->network_header = skb_mac_header(skb) + nhoff - skb->head; in ipv6_gso_segment()
126 ipv6h = (struct ipv6hdr *)(skb_mac_header(skb) + nhoff); in ipv6_gso_segment()
132 payload_len = skb->len - nhoff - sizeof(*ipv6h); in ipv6_gso_segment()
322 INDIRECT_CALLABLE_SCOPE int ipv6_gro_complete(struct sk_buff *skb, int nhoff) in ipv6_gro_complete() argument
325 struct ipv6hdr *iph = (struct ipv6hdr *)(skb->data + nhoff); in ipv6_gro_complete()
330 skb_set_inner_network_header(skb, nhoff); in ipv6_gro_complete()
333 iph->payload_len = htons(skb->len - nhoff - sizeof(*iph)); in ipv6_gro_complete()
337 nhoff += sizeof(*iph) + ipv6_exthdrs_len(iph, &ops); in ipv6_gro_complete()
342 udp6_gro_complete, skb, nhoff); in ipv6_gro_complete()
350 static int sit_gro_complete(struct sk_buff *skb, int nhoff) in sit_gro_complete() argument
354 return ipv6_gro_complete(skb, nhoff); in sit_gro_complete()
357 static int ip6ip6_gro_complete(struct sk_buff *skb, int nhoff) in ip6ip6_gro_complete() argument
361 return ipv6_gro_complete(skb, nhoff); in ip6ip6_gro_complete()
364 static int ip4ip6_gro_complete(struct sk_buff *skb, int nhoff) in ip4ip6_gro_complete() argument
368 return inet_gro_complete(skb, nhoff); in ip4ip6_gro_complete()