Contiki 2.5
|
uIP has a few global variables that are used in device drivers for uIP. More...
Variables | |
CCIF u16_t | uip_len |
The length of the packet in the uip_buf buffer. More... | |
u8_t | uip_ext_len |
The length of the extension headers. More... | |
uIP has a few global variables that are used in device drivers for uIP.
u8_t uip_ext_len |
The length of the extension headers.
The length of the extension headers.
updated each time we process a header
Definition at line 143 of file uip6.c.
Referenced by tcpip_input(), uip_icmp6_echo_request_input(), uip_icmp6_error_output(), uip_nd6_ns_input(), uip_nd6_ns_output(), and uip_process().
CCIF u16_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 144 of file uip.c.
Referenced by ethernode_send(), mac_ethernetToLowpan(), mac_LowpanToEthernet(), mac_translateIcmpLinkLayer(), slipdev_send(), tcpip_input(), uip_arp_arpin(), uip_arp_out(), uip_fw_forward(), uip_fw_output(), uip_icmp6_echo_request_input(), uip_icmp6_error_output(), uip_icmp6_send(), uip_nd6_na_input(), uip_nd6_ns_input(), uip_nd6_ns_output(), uip_nd6_ra_input(), uip_nd6_rs_output(), uip_process(), and uip_split_output().