Searched defs:ip0 (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/
H A Dip_icmp.c164 struct ip *ip0; local
190 ip0 = mtod(m0, struct ip *);
191 if (ip0->ip_p != IPPROTO_ICMP)
196 icp0 = (struct icmp *)((char *)ip0 + (ip0->ip_hl << 2));
209 if ( ( (icp->icmp_type != ICMP_ECHO && ip->ip_src.s_addr == ip0->ip_dst.s_addr)
210 || (icp->icmp_type == ICMP_ECHO && ip->ip_dst.s_addr == ip0->ip_dst.s_addr))
H A Dsocket.c1238 struct ip *ip0 = mtod(m, struct ip *); local
1239 struct icmp *icp0 = (struct icmp *)((char *)ip0 + (ip0->ip_hl << 2));
1252 != (ip0->ip_len - (ip0->ip_hl << 2)))
1255 (ip->ip_len - hlen), (ip0->ip_len - (ip0->ip_hl << 2))));

Completed in 47 milliseconds