TCP configuration options
[Configuration options for uIP]


Defines

#define UIP_ACTIVE_OPEN   1
#define UIP_CONNS   5
#define UIP_LISTENPORTS   5
#define UIP_RECEIVE_WINDOW   400
#define UIP_URGDATA   1
#define UIP_RTO   3
#define UIP_MAXRTX   8
#define UIP_MAXSYNRTX   3
#define UIP_TCP_MSS   (UIP_BUFSIZE - UIP_LLH_LEN - 40)
#define UIP_TIME_WAIT_TIMEOUT   120
#define UIP_ACTIVE_OPEN   1
#define UIP_CONNS   5
#define UIP_LISTENPORTS   10
#define UIP_RECEIVE_WINDOW   400
#define UIP_URGDATA   1
#define UIP_RTO   3
#define UIP_MAXRTX   8
#define UIP_MAXSYNRTX   3
#define UIP_TCP_MSS   (UIP_BUFSIZE - UIP_LLH_LEN - 40)
#define UIP_TIME_WAIT_TIMEOUT   120


Define Documentation

#define UIP_ACTIVE_OPEN   1
 

Determines if support for opening connections from uIP should be compiled in.

If the applications that are running on top of uIP for this project do not need to open outgoing TCP connections, this configration option can be turned off to reduce the code size of uIP.

Definition at line 301 of file linux/uipopt.h.

#define UIP_ACTIVE_OPEN   1
 

Determines if support for opening connections from uIP should be compiled in.

If the applications that are running on top of uIP for this project do not need to open outgoing TCP connections, this configration option can be turned off to reduce the code size of uIP.

Definition at line 307 of file avr/uipopt.h.

Referenced by uip_init(), and uip_process().

#define UIP_CONNS   5
 

The maximum number of simultaneously open TCP connections.

Since the TCP connections are statically allocated, turning this configuration knob down results in less RAM used. Each TCP connection requires approximatly 30 bytes of memory.

Definition at line 312 of file linux/uipopt.h.

#define UIP_CONNS   5
 

The maximum number of simultaneously open TCP connections.

Since the TCP connections are statically allocated, turning this configuration knob down results in less RAM used. Each TCP connection requires approximatly 30 bytes of memory.

Definition at line 318 of file avr/uipopt.h.

#define UIP_LISTENPORTS   10
 

The maximum number of simultaneously listening TCP ports.

Each listening TCP port requires 2 bytes of memory.

Definition at line 321 of file linux/uipopt.h.

#define UIP_LISTENPORTS   5
 

The maximum number of simultaneously listening TCP ports.

Each listening TCP port requires 2 bytes of memory.

Definition at line 327 of file avr/uipopt.h.

Referenced by uip_init().

#define UIP_MAXRTX   8
 

The maximum number of times a segment should be retransmitted before the connection should be aborted.

This should not be changed.

Definition at line 358 of file linux/uipopt.h.

#define UIP_MAXRTX   8
 

The maximum number of times a segment should be retransmitted before the connection should be aborted.

This should not be changed.

Definition at line 364 of file avr/uipopt.h.

Referenced by uip_process().

#define UIP_MAXSYNRTX   3
 

The maximum number of times a SYN segment should be retransmitted before a connection request should be deemed to have been unsuccessful.

This should not need to be changed.

Definition at line 367 of file linux/uipopt.h.

#define UIP_MAXSYNRTX   3
 

The maximum number of times a SYN segment should be retransmitted before a connection request should be deemed to have been unsuccessful.

This should not need to be changed.

Definition at line 373 of file avr/uipopt.h.

Referenced by uip_process().

#define UIP_RECEIVE_WINDOW   400
 

The size of the advertised receiver's window.

Should be set low (i.e., to the size of the uip_buf buffer) is the application is slow to process incoming data, or high (32768 bytes) if the application processes data quickly.

Definition at line 332 of file linux/uipopt.h.

#define UIP_RECEIVE_WINDOW   400
 

The size of the advertised receiver's window.

Should be set low (i.e., to the size of the uip_buf buffer) is the application is slow to process incoming data, or high (32768 bytes) if the application processes data quickly.

Definition at line 338 of file avr/uipopt.h.

#define UIP_RTO   3
 

The initial retransmission timeout counted in timer pulses.

This should not be changed.

Definition at line 350 of file linux/uipopt.h.

#define UIP_RTO   3
 

The initial retransmission timeout counted in timer pulses.

This should not be changed.

Definition at line 356 of file avr/uipopt.h.

Referenced by uip_init(), and uip_process().

#define UIP_TCP_MSS   (UIP_BUFSIZE - UIP_LLH_LEN - 40)
 

The TCP maximum segment size.

This is should not be to set to more than UIP_BUFSIZE - UIP_LLH_LEN - 40.

Definition at line 374 of file linux/uipopt.h.

#define UIP_TCP_MSS   (UIP_BUFSIZE - UIP_LLH_LEN - 40)
 

The TCP maximum segment size.

This is should not be to set to more than UIP_BUFSIZE - UIP_LLH_LEN - 40.

Definition at line 380 of file avr/uipopt.h.

Referenced by uip_init().

#define UIP_TIME_WAIT_TIMEOUT   120
 

How long a connection should stay in the TIME_WAIT state.

This configiration option has no real implication, and it should be left untouched.

Definition at line 382 of file linux/uipopt.h.

#define UIP_TIME_WAIT_TIMEOUT   120
 

How long a connection should stay in the TIME_WAIT state.

This configiration option has no real implication, and it should be left untouched.

Definition at line 388 of file avr/uipopt.h.

Referenced by uip_process().

#define UIP_URGDATA   1
 

Determines if support for TCP urgent data notification should be compiled in.

Urgent data (out-of-band data) is a rarely used TCP feature that very seldom would be required.

Definition at line 343 of file linux/uipopt.h.

#define UIP_URGDATA   1
 

Determines if support for TCP urgent data notification should be compiled in.

Urgent data (out-of-band data) is a rarely used TCP feature that very seldom would be required.

Definition at line 349 of file avr/uipopt.h.


Generated on Fri Jan 6 22:23:18 2006 for EtherProgs by  doxygen 1.4.5