Home | History | Annotate | Download | only in ping

Lines Matching refs:hlen

1071 	int hlen, dupflag = 0, dumped;
1081 hlen = ip->ip_hl << 2;
1082 if (hlen < (int)sizeof(*ip) || tot_len < hlen + ICMP_MINLEN) {
1093 net_len = tot_len - hlen;
1094 icp = (struct icmp *)(buf + hlen);
1188 if ((size_t)(tot_len - hlen) >
1219 while (hlen > (int)sizeof(struct ip)) {
1222 hlen = 0;
1225 hlen -= 2;
1233 hlen -= j;
1242 hlen -= 4;
1252 hlen -= 2;
1264 hlen -= j;
1281 hlen -= 4;
1299 hlen--;
1512 int hlen;
1525 hlen = ip->ip_hl << 2;
1527 && hlen + 6 <= cc) {
1528 (void) memcpy(icp2, &icp->icmp_data[hlen], sizeof(*icp2));
1765 int hlen;
1772 hlen = ip->ip_hl << 2;
1786 while (hlen-- > 20 && cp < (u_char*)icp+cc) {
1837 int hlen;
1846 hlen = ip->ip_hl << 2;
1847 cp = (u_char *) &icp->icmp_data[hlen];