Data Fields

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.

Definition at line 1160 of file uip.h.


Field Documentation

The application state.

Definition at line 1187 of file uip.h.

Initial maximum segment size for the connection.

Definition at line 1174 of file uip.h.

Length of the data that was previously sent.

Definition at line 1171 of file uip.h.

The local TCP port, in network byte order.

Definition at line 1163 of file uip.h.

Current maximum segment size for the connection.

Definition at line 1172 of file uip.h.

The number of retransmissions for the last segment sent.

Definition at line 1183 of file uip.h.

The sequence number that we expect to receive next.

Definition at line 1167 of file uip.h.

The IP address of the remote host.

Definition at line 1161 of file uip.h.

The local remote TCP port, in network byte order.

Definition at line 1164 of file uip.h.

Retransmission time-out.

Definition at line 1180 of file uip.h.

Retransmission time-out calculation state variable.

Definition at line 1176 of file uip.h.

The sequence number that was last sent by us.

Definition at line 1169 of file uip.h.

Retransmission time-out calculation state variable.

Definition at line 1178 of file uip.h.

TCP state and flags.

Definition at line 1181 of file uip.h.

The retransmission timer.

Definition at line 1182 of file uip.h.


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