Home
last modified time | relevance | path

Searched refs:iph2 (Results 1 – 2 of 2) sorted by relevance

/linux/net/ipv6/
H A Dip6_offload.c267 const struct ipv6hdr *iph2; in ipv6_gro_receive() local
273 iph2 = (struct ipv6hdr *)(p->data + off); in ipv6_gro_receive()
274 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; in ipv6_gro_receive()
283 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || in ipv6_gro_receive()
284 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || in ipv6_gro_receive()
285 iph->nexthdr != iph2->nexthdr) { in ipv6_gro_receive()
291 if (memcmp(iph + 1, iph2 + 1, in ipv6_gro_receive()
/linux/tools/testing/selftests/drivers/net/
H A Dgro.c658 struct iphdr *iph2; in send_flush_id_case() local
662 iph2 = (struct iphdr *)(buf2 + ETH_HLEN); in send_flush_id_case()
674 iph2->frag_off |= htons(IP_DF); in send_flush_id_case()
675 iph2->id = htons(9); in send_flush_id_case()
682 iph2->frag_off |= htons(IP_DF); in send_flush_id_case()
683 iph2->id = htons(8); in send_flush_id_case()
690 iph2->frag_off &= ~htons(IP_DF); in send_flush_id_case()
691 iph2->id = htons(9); in send_flush_id_case()
698 iph2->frag_off &= ~htons(IP_DF); in send_flush_id_case()
699 iph2->id = htons(8); in send_flush_id_case()
[all …]