Fork for fixes

Embed: (wiki syntax)

« Back to documentation index

Variables used in UIP device drivers

Variables used in UIP device drivers
[The UIP TCP/IP stack]

UIP has a few global variables that are used in device drivers for UIP. More...

Variables

u16_t uip_len
 The length of the packet in the uip_buf buffer.

Detailed Description

UIP has a few global variables that are used in device drivers for UIP.


Variable Documentation

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 154 of file uip.c.