Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv6/
H A Dip6_offload.c269 const struct ipv6hdr *iph2; in ipv6_gro_receive() local
275 iph2 = (struct ipv6hdr *)(p->data + off); in ipv6_gro_receive()
276 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; in ipv6_gro_receive()
285 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || in ipv6_gro_receive()
286 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || in ipv6_gro_receive()
287 iph->nexthdr != iph2->nexthdr) { in ipv6_gro_receive()
293 if (memcmp(iph + 1, iph2 + 1, in ipv6_gro_receive()
299 (__force __be32)(iph->hop_limit ^ iph2->hop_limit)); in ipv6_gro_receive()
/openbmc/linux/net/ipv4/
H A Daf_inet.c1514 struct iphdr *iph2; in inet_gro_receive() local
1520 iph2 = (struct iphdr *)(p->data + off); in inet_gro_receive()
1526 if ((iph->protocol ^ iph2->protocol) | in inet_gro_receive()
1527 ((__force u32)iph->saddr ^ (__force u32)iph2->saddr) | in inet_gro_receive()
1528 ((__force u32)iph->daddr ^ (__force u32)iph2->daddr)) { in inet_gro_receive()
1535 (iph->ttl ^ iph2->ttl) | in inet_gro_receive()
1536 (iph->tos ^ iph2->tos) | in inet_gro_receive()
1537 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF)); in inet_gro_receive()
1545 flush_id = (u16)(id - ntohs(iph2->id)); in inet_gro_receive()
H A Dudp_offload.c223 struct iphdr *iph, *iph2; in __udpv4_gso_segment_list_csum() local
237 iph2 = ip_hdr(seg); in __udpv4_gso_segment_list_csum()
240 &iph2->saddr, &iph->saddr, in __udpv4_gso_segment_list_csum()
243 &iph2->daddr, &iph->daddr, in __udpv4_gso_segment_list_csum()