Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

General configuration options
[Configuration options for uIP]


Defines

#define UIP_BUFSIZE
 The size of the uIP packet buffer.

#define UIP_STATISTICS
 Determines if statistics support should be compiled in.

#define UIP_LOGGING
 Determines if logging of certain events should be compiled in.

#define UIP_LLH_LEN
 The link level header length.


Functions

void uip_log (char *msg)
 Print out a uIP log message.


Define Documentation

#define UIP_BUFSIZE
 

The size of the uIP packet buffer.

The uIP packet buffer should not be smaller than 60 bytes, and does not need to be larger than 1500 bytes. Lower size results in lower TCP throughput, larger size results in higher TCP throughput.

#define UIP_LLH_LEN
 

The link level header length.

This is the offset into the uip_buf where the IP header can be found. For Ethernet, this should be set to 14. For SLIP, this should be set to 0.

#define UIP_LOGGING
 

Determines if logging of certain events should be compiled in.

This is useful mostly for debugging. The function uip_log() must be implemented to suit the architecture of the project, if logging is turned on.

#define UIP_STATISTICS
 

Determines if statistics support should be compiled in.

The statistics is useful for debugging and to show the user.


Function Documentation

void uip_log char *  msg  ) 
 

Print out a uIP log message.

This function must be implemented by the module that uses uIP, and is called by uIP whenever a log message is generated.


Generated on Tue Oct 7 15:51:45 2003 for uIP 0.9 by doxygen 1.3.3