Searched refs:iph2 (Results 1 - 7 of 7) sorted by relevance
/linux-master/net/ipv6/ |
H A D | tcpv6_offload.c | 115 struct ipv6hdr *iph2; local 121 iph2 = ipv6_hdr(seg->next); 124 ipv6_addr_equal(&iph->saddr, &iph2->saddr) && 125 ipv6_addr_equal(&iph->daddr, &iph2->daddr)) 130 iph2 = ipv6_hdr(seg); 132 iph2->saddr = iph->saddr; 133 iph2->daddr = iph->daddr;
|
H A D | ip6_offload.c | 265 const struct ipv6hdr *iph2; local 271 iph2 = (struct ipv6hdr *)(p->data + off); 272 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; 277 * (nlen != (sizeof(*iph2) + ipv6_exthdrs_len(iph2, &ops))) 281 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || 282 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || 283 iph->nexthdr != iph2->nexthdr) { 289 if (memcmp(iph + 1, iph2 + 1,
|
/linux-master/tools/testing/selftests/net/ |
H A D | gro.c | 637 struct iphdr *iph2; local 641 iph2 = (struct iphdr *)(buf2 + ETH_HLEN); 653 iph2->frag_off |= htons(IP_DF); 654 iph2->id = htons(9); 661 iph2->frag_off |= htons(IP_DF); 662 iph2->id = htons(8); 669 iph2->frag_off &= ~htons(IP_DF); 670 iph2->id = htons(9); 677 iph2->frag_off &= ~htons(IP_DF); 678 iph2 [all...] |
/linux-master/net/ipv4/ |
H A D | tcp_offload.c | 58 struct iphdr *iph2; local 64 iph2 = ip_hdr(seg->next); 67 iph->daddr == iph2->daddr && iph->saddr == iph2->saddr) 72 iph2 = ip_hdr(seg); 75 &iph2->saddr, iph->saddr, 78 &iph2->daddr, iph->daddr,
|
H A D | udp_offload.c | 223 struct iphdr *iph, *iph2; local 237 iph2 = ip_hdr(seg); 240 &iph2->saddr, &iph->saddr, 243 &iph2->daddr, &iph->daddr,
|
H A D | af_inet.c | 1513 struct iphdr *iph2; local 1518 iph2 = (struct iphdr *)(p->data + off); 1524 if ((iph->protocol ^ iph2->protocol) | 1525 ((__force u32)iph->saddr ^ (__force u32)iph2->saddr) | 1526 ((__force u32)iph->daddr ^ (__force u32)iph2->daddr)) {
|
/linux-master/include/net/ |
H A D | gro.h | 444 static inline int inet_gro_flush(const struct iphdr *iph, const struct iphdr *iph2, argument 448 const u32 id2 = ntohl(*(__be32 *)&iph2->id); 455 flush = (iph->ttl ^ iph2->ttl) | (iph->tos ^ iph2->tos) | (df ^ (id2 & IP_DF)); 470 static inline int ipv6_gro_flush(const struct ipv6hdr *iph, const struct ipv6hdr *iph2) argument 473 __be32 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; 477 (__force __be32)(iph->hop_limit ^ iph2->hop_limit));
|
Completed in 128 milliseconds