HomeSort by relevance Sort by last modified time
    Searched refs:MAX_DUP_CHK (Results 1 - 3 of 3) sorted by null

  /external/iputils/
ping_common.h 78 * MAX_DUP_CHK is the number of bits in received table, i.e. the maximum
81 #define MAX_DUP_CHK 0x10000
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;
117 unsigned bit = seq % MAX_DUP_CHK;
123 unsigned bit = seq % MAX_DUP_CHK;
ping_common.c 315 fprintf(stderr, "ping: bad preload value, should be 1..%d\n", MAX_DUP_CHK);
318 if (preload > MAX_DUP_CHK)
319 preload = MAX_DUP_CHK;
510 printf("no answer yet for icmp_seq=%lu\n", (ntransmitted % MAX_DUP_CHK));
ping6.c 313 ni_nonce_ptr = calloc(NI_NONCE_SIZE, MAX_DUP_CHK);
360 memcpy(&ni_nonce_ptr[NI_NONCE_SIZE * (seq % MAX_DUP_CHK)], &v, sizeof(v));
363 ni_nonce_ptr[NI_NONCE_SIZE * (seq % MAX_DUP_CHK) + i] = 0x100 * (rand() / (RAND_MAX + 1.0));
365 memcpy(nonce, &ni_nonce_ptr[NI_NONCE_SIZE * (seq % MAX_DUP_CHK)], NI_NONCE_SIZE);
376 if (memcmp(nonce, &ni_nonce_ptr[NI_NONCE_SIZE * (seq % MAX_DUP_CHK)], NI_NONCE_SIZE))
    [all...]

Completed in 27 milliseconds