Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv6/
A 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 iph->nexthdr != iph2->nexthdr) { in ipv6_gro_receive()
260 if (memcmp(iph + 1, iph2 + 1, in ipv6_gro_receive()
266 (__force __be32)(iph->hop_limit ^ iph2->hop_limit)); in ipv6_gro_receive()
/linux-6.3-rc2/net/ipv4/
A Daf_inet.c1492 struct iphdr *iph2; in inet_gro_receive() local
1498 iph2 = (struct iphdr *)(p->data + off); in inet_gro_receive()
1504 if ((iph->protocol ^ iph2->protocol) | in inet_gro_receive()
1505 ((__force u32)iph->saddr ^ (__force u32)iph2->saddr) | in inet_gro_receive()
1506 ((__force u32)iph->daddr ^ (__force u32)iph2->daddr)) { in inet_gro_receive()
1513 (iph->ttl ^ iph2->ttl) | in inet_gro_receive()
1514 (iph->tos ^ iph2->tos) | in inet_gro_receive()
1515 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF)); in inet_gro_receive()
1523 flush_id = (u16)(id - ntohs(iph2->id)); in inet_gro_receive()
A Dudp_offload.c222 struct iphdr *iph, *iph2; in __udpv4_gso_segment_list_csum() local
236 iph2 = ip_hdr(seg); in __udpv4_gso_segment_list_csum()
239 &iph2->saddr, &iph->saddr, in __udpv4_gso_segment_list_csum()
242 &iph2->daddr, &iph->daddr, in __udpv4_gso_segment_list_csum()

Completed in 9 milliseconds