Macros | |
#define | UIP_BROADCAST |
Broadcast support. More... | |
#define | UIP_BUFSIZE |
The size of the uIP packet buffer. More... | |
#define | UIP_LLH_LEN |
The link level header length. More... | |
#define | UIP_LOGGING |
Determines if logging of certain events should be compiled in. More... | |
#define | UIP_STATISTICS |
Determines if statistics support should be compiled in. More... | |
Functions | |
void | uip_log (char *msg) |
Print out a uIP log message. More... | |
#define UIP_BROADCAST |
Broadcast support.
This flag configures IP broadcast support. This is useful only together with UDP.
#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.
Referenced by PROCESS_THREAD(), rpl_update_header_empty(), slipdev_poll(), uip_send(), and uip_udp_packet_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.
Referenced by input(), input_callback(), ip64_arp_create_arp_request(), ip64_eth_interface_input(), output(), PROCESS_THREAD(), recv_data(), slip_send(), slipdev_poll(), slipdev_send(), uip_arp_out(), uip_fw_forward(), uip_ipchksum(), uip_over_mesh_send(), uip_process(), uip_send(), uip_udp_packet_send(), uncompress_hdr_hc06(), uncompress_hdr_hc1(), and upper_layer_chksum().
#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.
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.