Lines Matching refs:ipv6h
78 struct ipv6hdr *ipv6h; in ipv6_gso_segment() local
94 if (unlikely(!pskb_may_pull(skb, sizeof(*ipv6h)))) in ipv6_gso_segment()
100 SKB_GSO_CB(skb)->encap_level += sizeof(*ipv6h); in ipv6_gso_segment()
102 ipv6h = ipv6_hdr(skb); in ipv6_gso_segment()
103 __skb_pull(skb, sizeof(*ipv6h)); in ipv6_gso_segment()
106 proto = ipv6_gso_pull_exthdrs(skb, ipv6h->nexthdr); in ipv6_gso_segment()
130 ipv6h = (struct ipv6hdr *)(skb_mac_header(skb) + nhoff); in ipv6_gso_segment()
134 skb->head - (unsigned char *)(ipv6h + 1); in ipv6_gso_segment()
136 payload_len = skb->len - nhoff - sizeof(*ipv6h); in ipv6_gso_segment()
137 ipv6h->payload_len = htons(payload_len); in ipv6_gso_segment()
138 skb->network_header = (u8 *)ipv6h - skb->head; in ipv6_gso_segment()
147 fptr = (struct frag_hdr *)((u8 *)ipv6h + err); in ipv6_gso_segment()
151 offset += (ntohs(ipv6h->payload_len) - in ipv6_gso_segment()