Home
last modified time | relevance | path

Searched refs:MAX_ICMP_SEQ (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c1789 dest_port : (ntransmitted % (MAX_ICMP_SEQ + 1)); in send_scheduled_probe()
2036 icp->icmp_seq = htons(ntransmitted++ % (MAX_ICMP_SEQ + 1)); in pinger()
2213 if (seq_len > MAX_ICMP_SEQ / 2) { in seq_match()
2214 seq_begin = (seq_begin + seq_len - MAX_ICMP_SEQ / 2) % in seq_match()
2215 (MAX_ICMP_SEQ + 1); in seq_match()
2216 seq_len = MAX_ICMP_SEQ / 2; in seq_match()
2220 PINGSEQ_LEQ(value, (seq_begin + seq_len - 1) % (MAX_ICMP_SEQ + 1))) in seq_match()
2267 if (icmpseq < (ntransmitted % (MAX_ICMP_SEQ + 1))) { in find_dstaddr()
2268 real_seq = num_wraps * (MAX_ICMP_SEQ + 1) + icmpseq; in find_dstaddr()
2270 real_seq = (num_wraps - 1) * (MAX_ICMP_SEQ + 1) + in find_dstaddr()
H A Dping.h37 #define MAX_ICMP_SEQ 65535 /* max icmp sequence value */ macro
H A Dping_aux.c569 (MAX_ICMP_SEQ + 1) == in check_reply()
880 (MAX_ICMP_SEQ + 1) == in check_reply()
H A Dping_aux6.c709 (MAX_ICMP_SEQ + 1) == in check_reply6()