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 UIP_BROADCAST |
#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 517 of file uipopt.h.
Referenced by uip_send().
#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 591 of file uipopt.h.
Referenced by mac_ethernetToLowpan(), mac_LowpanToEthernet(), uip_ipchksum(), uip_process(), uip_send(), and uip_tcpchksum().
#define UIP_LOGGING |
#define UIP_STATISTICS |
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 3 of file uip-log.c.
References uip_gethostaddr, and uip_ipaddr_to_quad.