/* description of the data structure used:
*
- * - we assume that no more than SEQMAP_MAXSEQ (65000) pings are sent in
+ * - we assume that no more than SEQMAP_MAXSEQ (65535) pings are sent in
* the timeout interval (SEQMAP_TIMEOUT_IN_S)
* - we store the values in an array with SEQMAP_MAXSEQ elements
* - current sequence number % SEQMAP_MAXSEQ gives the current index
} SEQMAP_VALUE;
-#define SEQMAP_MAXSEQ 65000
+#define SEQMAP_MAXSEQ 65535
void seqmap_init();
unsigned int seqmap_add(unsigned int host_nr, unsigned int ping_count, struct timeval *now);