Microchip® Advanced Software Framework

uip_udp_conn Struct Reference

Representation of a uIP UDP connection.

#include <uip.h>

Data Fields

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

uip_udp_appstate_t uip_udp_conn::appstate

The application state.

Referenced by eventhandler(), and tcpip_uipcall().

uint16_t uip_udp_conn::lport

The local port number in network byte order.

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

uip_ipaddr_t uip_udp_conn::ripaddr

The IP address of the remote peer.

Referenced by sendto(), udp_socket_connect(), uip_process(), uip_udp_packet_send(), and uip_udp_packet_sendto().

uint16_t uip_udp_conn::rport

The remote port number in network byte order.

Referenced by udp_socket_connect(), uip_process(), and uip_udp_packet_sendto().

uint8_t uip_udp_conn::ttl

Default time-to-live.

Referenced by handle_incoming_rreq(), send_rreq(), and uip_process().