![]() |
EVE 1.0
|
![]() |
Variables | |
CCIF uint16_t | uip_len |
uint8_t | uip_ext_len |
uIP has a few global variables that are used in device drivers for uIP.
CCIF uint16_t uip_len |
The length of the packet in the uip_buf buffer.
The global variable uip_len holds the length of the packet in the uip_buf buffer.
When the network device driver calls the uIP input function, uip_len should be set to the length of the packet in the uip_buf buffer.
When sending packets, the device driver should use the contents of the uip_len variable to determine the length of the outgoing packet.
Definition at line 166 of file uip.c.
Referenced by slipdev_send(), tcpip_input(), tcpip_output(), uip_arp_arpin(), uip_arp_out(), uip_arp_timer(), uip_fw_forward(), uip_fw_init(), uip_fw_output(), and uip_process().
uint8_t uip_ext_len |
The length of the extension headers
Referenced by tcpip_input().