uip_conn Struct Reference
[The uIP TCP/IP stack]

#include <uip.h>

Collaboration diagram for uip_conn:
Collaboration graph
[legend]

Data Fields

uip_ipaddr_t ripaddr
u16_t lport
u16_t rport
u8_t rcv_nxt [4]
u8_t snd_nxt [4]
u16_t len
u16_t mss
u16_t initialmss
u8_t sa
u8_t sv
u8_t rto
u8_t tcpstateflags
u8_t timer
u8_t nrtx
uip_tcp_appstate_t appstate

Detailed Description

Representation of a uIP TCP connection.

The uip_conn structure is used for identifying a connection. All but one field in the structure are to be considered read-only by an application. The only exception is the appstate field whos purpose is to let the application store application-specific state (e.g., file pointers) for the connection. The type of this field is configured in the "uipopt.h" header file.


Field Documentation

The application state.

Initial maximum segment size for the connection.

Length of the data that was previously sent.

The local TCP port, in network byte order.

Current maximum segment size for the connection.

The number of retransmissions for the last segment sent.

The sequence number that we expect to receive next.

The IP address of the remote host.

The local remote TCP port, in network byte order.

Retransmission time-out.

Retransmission time-out calculation state variable.

The sequence number that was last sent by us.

Retransmission time-out calculation state variable.

TCP state and flags.

The retransmission timer.


The documentation for this struct was generated from the following file:

Generated on 22 Jan 2016 for MIDIboxNG by  doxygen 1.6.1