From fae6085d5734cb000bcd6a40eb0b5bd369772d4f Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 7 Nov 2007 22:54:51 +0000 Subject: Handle varialble length polling intervals; fix bug of last checkin git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@376 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/net/uip/uipopt.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'nuttx/include/net/uip/uipopt.h') diff --git a/nuttx/include/net/uip/uipopt.h b/nuttx/include/net/uip/uipopt.h index 170be621c..3a3fc68f2 100644 --- a/nuttx/include/net/uip/uipopt.h +++ b/nuttx/include/net/uip/uipopt.h @@ -108,10 +108,11 @@ #define UIP_REASSEMBLY 0 /* The maximum time an IP fragment should wait in the reassembly - * buffer before it is dropped. + * buffer before it is dropped. Units are deci-seconds, the range + * of the timer is 8-bits. */ -#define UIP_REASS_MAXAGE 40 +#define UIP_REASS_MAXAGE (20*10) /* 20 seconds */ /* UDP configuration options */ @@ -218,10 +219,10 @@ /* How long a connection should stay in the TIME_WAIT state. * * This configiration option has no real implication, and it should be - * left untouched. + * left untouched. Units: half second. */ -#define UIP_TIME_WAIT_TIMEOUT 120 +#define UIP_TIME_WAIT_TIMEOUT (60*2) /* ARP configuration options */ -- cgit v1.2.3