Searched refs:iph2 (Results 1 - 3 of 3) sorted by relevance
/linux-master/net/ipv6/ |
H A D | ip6_offload.c | 266 const struct ipv6hdr *iph2; local 272 iph2 = (struct ipv6hdr *)(p->data + off); 273 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; 278 * (nlen != (sizeof(*iph2) + ipv6_exthdrs_len(iph2, &ops))) 282 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || 283 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || 284 iph->nexthdr != iph2->nexthdr) { 290 if (memcmp(iph + 1, iph2 + 1, 296 (__force __be32)(iph->hop_limit ^ iph2 [all...] |
/linux-master/net/ipv4/ |
H A D | af_inet.c | 1515 struct iphdr *iph2; local 1521 iph2 = (struct iphdr *)(p->data + off); 1527 if ((iph->protocol ^ iph2->protocol) | 1528 ((__force u32)iph->saddr ^ (__force u32)iph2->saddr) | 1529 ((__force u32)iph->daddr ^ (__force u32)iph2->daddr)) { 1536 (iph->ttl ^ iph2->ttl) | 1537 (iph->tos ^ iph2->tos) | 1538 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF)); 1546 flush_id = (u16)(id - ntohs(iph2->id));
|
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,
|
Completed in 116 milliseconds