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

General configuration options


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_BROADCAST
 Broadcast support.
#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_BROADCAST
 

Broadcast support.

This flag configures IP broadcast support. This is useful only together with UDP.

Definition at line 428 of file uipopt.h.

#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.

Definition at line 384 of file uipopt.h.

Referenced by tr1001_poll(), and uip_split_output().

#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.

Definition at line 453 of file uipopt.h.

Referenced by tr1001_poll(), uip_arp_out(), uip_fw_forward(), uip_ipchksum(), uip_process(), and uip_split_output().

#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.

Definition at line 413 of file uipopt.h.

#define UIP_STATISTICS
 

Determines if statistics support should be compiled in.

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

Definition at line 398 of file uipopt.h.


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 Thu Jun 22 17:45:43 2006 for Contiki 2.x by  doxygen 1.4.4