Contiki 2.6

uip_udp_conn Struct Reference

Representation of a uIP UDP connection. More...

#include <core/net/uip.h>

Data Fields

uip_ipaddr_t ripaddr
 The IP address of the remote peer.
uint16_t lport
 The local port number in network byte order.
uint16_t rport
 The remote port number in network byte order.
uint8_t ttl
 Default time-to-live.
uip_udp_appstate_t appstate
 The application state.

Detailed Description

Representation of a uIP UDP connection.

Examples:

example-program.c.

Definition at line 1349 of file uip.h.


Field Documentation

The application state.

Definition at line 1356 of file uip.h.

Referenced by udp_attach(), and udp_new().

The local port number in network byte order.

Definition at line 1351 of file uip.h.

Referenced by uip_init(), uip_process(), and uip_udp_new().

The IP address of the remote peer.

Definition at line 1350 of file uip.h.

Referenced by resolv_getserver(), uip_process(), and uip_udp_new().

The remote port number in network byte order.

Definition at line 1352 of file uip.h.

Referenced by uip_process(), and uip_udp_new().

Default time-to-live.

Definition at line 1353 of file uip.h.

Referenced by uip_process(), and uip_udp_new().