Searched refs:MAX_DUP_CHK (Results 1 – 4 of 4) sorted by relevance
/external/iputils/ |
D | ping_common.h | 81 #define MAX_DUP_CHK 0x10000 macro 95 #if ((MAX_DUP_CHK >> (BITMAP_SHIFT + 3)) << (BITMAP_SHIFT + 3)) != MAX_DUP_CHK 96 # error Please MAX_DUP_CHK and/or BITMAP_SHIFT 100 bitmap_t bitmap[MAX_DUP_CHK / (sizeof(bitmap_t) * 8)]; 111 unsigned bit = seq % MAX_DUP_CHK; in rcvd_set() 117 unsigned bit = seq % MAX_DUP_CHK; in rcvd_clear() 123 unsigned bit = seq % MAX_DUP_CHK; in rcvd_test()
|
D | ping_common.c | 315 fprintf(stderr, "ping: bad preload value, should be 1..%d\n", MAX_DUP_CHK); in common_options() 318 if (preload > MAX_DUP_CHK) in common_options() 319 preload = MAX_DUP_CHK; in common_options() 510 printf("no answer yet for icmp_seq=%lu\n", (ntransmitted % MAX_DUP_CHK)); in pinger()
|
D | ping6.c | 318 ni_nonce_ptr = calloc(NI_NONCE_SIZE, MAX_DUP_CHK); in niquery_init_nonce() 365 memcpy(&ni_nonce_ptr[NI_NONCE_SIZE * (seq % MAX_DUP_CHK)], &v, sizeof(v)); in niquery_fill_nonce() 368 ni_nonce_ptr[NI_NONCE_SIZE * (seq % MAX_DUP_CHK) + i] = 0x100 * (rand() / (RAND_MAX + 1.0)); in niquery_fill_nonce() 370 memcpy(nonce, &ni_nonce_ptr[NI_NONCE_SIZE * (seq % MAX_DUP_CHK)], NI_NONCE_SIZE); in niquery_fill_nonce() 381 if (memcmp(nonce, &ni_nonce_ptr[NI_NONCE_SIZE * (seq % MAX_DUP_CHK)], NI_NONCE_SIZE)) in niquery_check_nonce()
|
D | RELNOTES | 75 ping,ping6: Use MAX_DUP_CHK directly, not using mx_dup_chk variable.
|