Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

# uip/uip.c File Reference

## Detailed Description

The uIP TCP/IP stack code.

Author:
  Adam Dunkels <adam@dunkels.com>

`#include "uip.h"`
`#include "uipopt.h"`
`#include "uip_arch.h"`

Include dependency graph for uip.c:

## Functions
void | uip_init (void)
| uIP initialization function.
uip_udp_conn * | uip_udp_new (u16_t *ripaddr, u16_t rport)
| Set up a new UDP connection.
void | uip_unlisten (u16_t port)
| Stop listening to the specified port.
void | uip_listen (u16_t port)
| Start listening to the specified port.
u16_t | htons (u16_t val)
| Convert 16-bit quantity from host byte order to network byte order.
## Variables
u8_t | uip_buf [UIP_BUFSIZE+2]
| The uIP packet buffer.
volatile u8_t * | uip_appdata
| Pointer to the application data in the packet buffer.
volatile u8_t | uip_acc32 [4]
| 4-byte array used for the 32-bit sequence number calculations.