Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.h39 #define MAX_ICMP_SEQ 65535 /* max icmp sequence value */ macro
H A Dping.c1859 dest_port : (ntransmitted % (MAX_ICMP_SEQ + 1)); in send_scheduled_probe()
2106 icp->icmp_seq = htons(ntransmitted++ % (MAX_ICMP_SEQ + 1)); in pinger()
2290 if (seq_len > MAX_ICMP_SEQ / 2) { in seq_match()
2291 seq_begin = (seq_begin + seq_len - MAX_ICMP_SEQ / 2) % in seq_match()
2292 (MAX_ICMP_SEQ + 1); in seq_match()
2293 seq_len = MAX_ICMP_SEQ / 2; in seq_match()
2297 PINGSEQ_LEQ(value, (seq_begin + seq_len - 1) % (MAX_ICMP_SEQ + 1))) in seq_match()
2344 if (icmpseq < (ntransmitted % (MAX_ICMP_SEQ + 1))) { in find_dstaddr()
2345 real_seq = num_wraps * (MAX_ICMP_SEQ + 1) + icmpseq; in find_dstaddr()
2347 real_seq = (num_wraps - 1) * (MAX_ICMP_SEQ + 1) + in find_dstaddr()
H A Dping_aux.c572 (MAX_ICMP_SEQ + 1) == in check_reply()
883 (MAX_ICMP_SEQ + 1) == in check_reply()
H A Dping_aux6.c711 (MAX_ICMP_SEQ + 1) == in check_reply6()