Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv6/
Dip6_offload.c236 const struct ipv6hdr *iph2; in ipv6_gro_receive() local
242 iph2 = (struct ipv6hdr *)(p->data + off); in ipv6_gro_receive()
243 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; in ipv6_gro_receive()
252 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || in ipv6_gro_receive()
253 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || in ipv6_gro_receive()
254 *(u16 *)&iph->nexthdr != *(u16 *)&iph2->nexthdr) { in ipv6_gro_receive()
260 if (memcmp(iph + 1, iph2 + 1, in ipv6_gro_receive()
/Linux-v5.4/net/ipv4/
Daf_inet.c1449 struct iphdr *iph2; in inet_gro_receive() local
1455 iph2 = (struct iphdr *)(p->data + off); in inet_gro_receive()
1461 if ((iph->protocol ^ iph2->protocol) | in inet_gro_receive()
1462 ((__force u32)iph->saddr ^ (__force u32)iph2->saddr) | in inet_gro_receive()
1463 ((__force u32)iph->daddr ^ (__force u32)iph2->daddr)) { in inet_gro_receive()
1470 (iph->ttl ^ iph2->ttl) | in inet_gro_receive()
1471 (iph->tos ^ iph2->tos) | in inet_gro_receive()
1472 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF)); in inet_gro_receive()
1480 flush_id = (u16)(id - ntohs(iph2->id)); in inet_gro_receive()