increase SEQMAP_MAX to 65355

This commit is contained in:
David Schweikert 2013-07-25 22:29:56 +02:00
parent 82722a31fe
commit f55397336b
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
/* 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

View File

@ -11,7 +11,7 @@ typedef struct seqmap_value
} 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);