Lines Matching refs:iph
143 static int ipv6_exthdrs_len(struct ipv6hdr *iph, in ipv6_exthdrs_len() argument
146 struct ipv6_opt_hdr *opth = (void *)iph; in ipv6_exthdrs_len()
147 int len = 0, proto, optlen = sizeof(*iph); in ipv6_exthdrs_len()
149 proto = iph->nexthdr; in ipv6_exthdrs_len()
172 struct ipv6hdr *iph; in ipv6_gro_receive() local
180 hlen = off + sizeof(*iph); in ipv6_gro_receive()
181 iph = skb_gro_header_fast(skb, off); in ipv6_gro_receive()
183 iph = skb_gro_header_slow(skb, hlen, off); in ipv6_gro_receive()
184 if (unlikely(!iph)) in ipv6_gro_receive()
189 skb_gro_pull(skb, sizeof(*iph)); in ipv6_gro_receive()
192 flush += ntohs(iph->payload_len) != skb_gro_len(skb); in ipv6_gro_receive()
195 proto = iph->nexthdr; in ipv6_gro_receive()
208 iph = ipv6_hdr(skb); in ipv6_gro_receive()
224 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; in ipv6_gro_receive()
233 memcmp(&iph->nexthdr, &iph2->nexthdr, in ipv6_gro_receive()
248 skb_gro_postpull_rcsum(skb, iph, nlen); in ipv6_gro_receive()
264 struct ipv6hdr *iph = (struct ipv6hdr *)(skb->data + nhoff); in ipv6_gro_complete() local
270 iph->payload_len = htons(skb->len - nhoff - sizeof(*iph)); in ipv6_gro_complete()
274 nhoff += sizeof(*iph) + ipv6_exthdrs_len(iph, &ops); in ipv6_gro_complete()