Contiki-NG
|
Macros | |
#define | UIP_LLH_LEN |
The link level header length. More... | |
#define | UIP_BUFSIZE |
The size of the uIP packet buffer. More... | |
#define | UIP_STATISTICS |
Determines if statistics support should be compiled in. More... | |
#define | UIP_BROADCAST |
Broadcast support. More... | |
Functions | |
void | uip_log (char *msg) |
Print out a uIP log message. More... | |
#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 154 of file uipopt.h.
Referenced by accept(), rpl_ext_header_hbh_update(), rpl_ext_header_srh_update(), slip_send(), and 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 141 of file uipopt.h.
Referenced by accept(), input(), rpl_ext_header_hbh_update(), rpl_ext_header_srh_update(), slip_send(), uip_ipchksum(), uip_process(), and uip_send().
#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 333 of file platform.c.
References addr, and linkaddr_set_node_addr().