Home
last modified time | relevance | path

Searched refs:cc_left (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c284 int cc_left; in check_reply6() local
333 cc_left = cc - ICMP6_MINLEN; in check_reply6()
339 if (cc_left < sizeof (ip6_t)) { in check_reply6()
354 ip6hdr_len = IPv6_hdrlen(ip6h, cc_left, &last_hdr); in check_reply6()
356 cc_left -= ip6hdr_len; in check_reply6()
360 if (cc_left < sizeof (struct udphdr)) { in check_reply6()
369 cc_left -= sizeof (struct udphdr); in check_reply6()
513 cc_left >= sizeof (struct timeval)) { in check_reply6()
548 if (cc_left < sizeof (ip6_t)) { in check_reply6()
556 ip6hdr_len = IPv6_hdrlen(ip6h, cc_left, &last_hdr); in check_reply6()
[all …]
H A Dping_aux.c244 int cc_left; in check_reply() local
311 cc_left = cc - ICMP_MINLEN; in check_reply()
319 if ((cc_left < sizeof (struct ip)) || in check_reply()
320 (cc_left < hlen1 + sizeof (struct udphdr))) { in check_reply()
330 cc_left -= hlen1 + sizeof (struct udphdr); in check_reply()
473 cc_left >= sizeof (struct timeval)) { in check_reply()
506 if (cc_left < sizeof (struct ip)) { in check_reply()
674 cc_left >= sizeof (struct timeval)) { in check_reply()
705 if (cc_left < sizeof (struct ip)) { in check_reply()
729 (cc_left >= hlen1 + 4)) { in check_reply()
[all …]