Home
last modified time | relevance | path

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

/net/ipv6/
Dip6_offload.c255 const struct ipv6hdr *iph2; in ipv6_gro_receive() local
261 iph2 = (struct ipv6hdr *)(p->data + off); in ipv6_gro_receive()
262 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; in ipv6_gro_receive()
271 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || in ipv6_gro_receive()
272 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || in ipv6_gro_receive()
273 iph->nexthdr != iph2->nexthdr) { in ipv6_gro_receive()
279 if (memcmp(iph + 1, iph2 + 1, in ipv6_gro_receive()
285 (__force __be32)(iph->hop_limit ^ iph2->hop_limit)); in ipv6_gro_receive()
/net/ipv4/
Daf_inet.c1499 struct iphdr *iph2; in inet_gro_receive() local
1505 iph2 = (struct iphdr *)(p->data + off); in inet_gro_receive()
1511 if ((iph->protocol ^ iph2->protocol) | in inet_gro_receive()
1512 ((__force u32)iph->saddr ^ (__force u32)iph2->saddr) | in inet_gro_receive()
1513 ((__force u32)iph->daddr ^ (__force u32)iph2->daddr)) { in inet_gro_receive()
1520 (iph->ttl ^ iph2->ttl) | in inet_gro_receive()
1521 (iph->tos ^ iph2->tos) | in inet_gro_receive()
1522 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF)); in inet_gro_receive()
1530 flush_id = (u16)(id - ntohs(iph2->id)); in inet_gro_receive()
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()