Contiki-NG
|
uIP has a few global variables that are used in device drivers for uIP. More...
Variables | |
uint16_t | uip_len |
The length of the packet in the uip_buf buffer. More... | |
uint8_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.
uint8_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 132 of file uip6.c.
Referenced by accept(), ext_hdr_options_process(), extract_lladdr_from_llao_aligned(), rpl_ext_header_hbh_update(), rpl_ext_header_remove(), rpl_ext_header_srh_get_next_hop(), rpl_ext_header_srh_update(), tcpip_input(), uip_icmp6_error_output(), uip_icmp6_register_input_handler(), uip_icmp6_send(), uip_init(), uip_ipchksum(), and uip_process().
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 179 of file uip6.c.
Referenced by accept(), extract_lladdr_from_llao_aligned(), input(), output(), ra_input(), rpl_ext_header_hbh_update(), rpl_ext_header_remove(), rpl_ext_header_srh_update(), rpl_icmp6_dio_output(), rpl_icmp6_dis_output(), rpl_icmp6_update_nbr_table(), slip_send(), tcpip_input(), tcpip_ipv6_output(), tcpip_output(), uip_ds6_nbr_add(), uip_ds6_periodic(), uip_icmp6_error_output(), uip_icmp6_register_input_handler(), uip_icmp6_send(), uip_init(), uip_nd6_rs_output(), and uip_process().