Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv6/
Dip6_offload.c234 const struct ipv6hdr *iph2; in ipv6_gro_receive() local
240 iph2 = (struct ipv6hdr *)(p->data + off); in ipv6_gro_receive()
241 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; in ipv6_gro_receive()
250 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || in ipv6_gro_receive()
251 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || in ipv6_gro_receive()
252 *(u16 *)&iph->nexthdr != *(u16 *)&iph2->nexthdr) { in ipv6_gro_receive()
258 if (memcmp(iph + 1, iph2 + 1, in ipv6_gro_receive()
/Linux-v5.10/net/ipv4/
Daf_inet.c1475 struct iphdr *iph2; in inet_gro_receive() local
1481 iph2 = (struct iphdr *)(p->data + off); in inet_gro_receive()
1487 if ((iph->protocol ^ iph2->protocol) | in inet_gro_receive()
1488 ((__force u32)iph->saddr ^ (__force u32)iph2->saddr) | in inet_gro_receive()
1489 ((__force u32)iph->daddr ^ (__force u32)iph2->daddr)) { in inet_gro_receive()
1496 (iph->ttl ^ iph2->ttl) | in inet_gro_receive()
1497 (iph->tos ^ iph2->tos) | in inet_gro_receive()
1498 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF)); in inet_gro_receive()
1506 flush_id = (u16)(id - ntohs(iph2->id)); in inet_gro_receive()