EVE 1.0
Collaboration diagram for General configuration options:

Macros

#define UIP_LLH_LEN
 
#define UIP_BUFSIZE
 
#define UIP_STATISTICS
 
#define UIP_LOGGING
 
#define UIP_BROADCAST
 

Functions

void uip_log (char *msg)
 

Detailed Description

Macro Definition Documentation

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

Note
we probably won't use this constant for other link layers than ethernet as they have variable header length (this is due to variable number and type of address fields and to optional security features) E.g.: 802.15.4 -> 2 + (1/2*4/8) + 0/5/6/10/14 802.11 -> 4 + (6*3/4) + 2

Definition at line 162 of file uipopt.h.

Referenced by slipdev_poll(), slipdev_send(), uip_arp_out(), uip_fw_forward(), uip_ipchksum(), uip_process(), and uip_send().

#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 1514 bytes. Lower size results in lower TCP throughput, larger size results in higher TCP throughput.

Definition at line 175 of file uipopt.h.

Referenced by simple_udp_deregister(), slipdev_poll(), and uip_send().

#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 189 of file uipopt.h.

#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 204 of file uipopt.h.

#define UIP_BROADCAST

Broadcast support.

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

Definition at line 219 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.

Definition at line 159 of file startup-efm32.c.

References __attribute__().