Contiki 2.5
|
Representation of a uIP TCP connection. More...
#include <core/net/uip.h>
Data Fields | |
uip_ipaddr_t | ripaddr |
The IP address of the remote host. More... | |
u16_t | lport |
The local TCP port, in network byte order. More... | |
u16_t | rport |
The local remote TCP port, in network byte order. More... | |
u8_t | rcv_nxt [4] |
The sequence number that we expect to receive next. More... | |
u8_t | snd_nxt [4] |
The sequence number that was last sent by us. More... | |
u16_t | len |
Length of the data that was previously sent. More... | |
u16_t | mss |
Current maximum segment size for the connection. More... | |
u16_t | initialmss |
Initial maximum segment size for the connection. More... | |
u8_t | sa |
Retransmission time-out calculation state variable. More... | |
u8_t | sv |
Retransmission time-out calculation state variable. More... | |
u8_t | rto |
Retransmission time-out. More... | |
u8_t | tcpstateflags |
TCP state and flags. More... | |
u8_t | timer |
The retransmission timer. More... | |
u8_t | nrtx |
The number of retransmissions for the last segment sent. More... | |
uip_tcp_appstate_t | appstate |
The application state. More... | |
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 whose 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.
uip_tcp_appstate_t uip_conn::appstate |
u16_t uip_conn::initialmss |
Initial maximum segment size for the
connection.
Definition at line 1305 of file uip.h.
Referenced by uip_process().
u16_t uip_conn::len |
Length of the data that was previously sent.
Definition at line 1302 of file uip.h.
Referenced by uip_process().
u16_t uip_conn::lport |
The local TCP port, in network byte order.
Definition at line 1294 of file uip.h.
Referenced by uip_process().
u16_t uip_conn::mss |
Current maximum segment size for the
connection.
Definition at line 1303 of file uip.h.
Referenced by uip_process().
u8_t uip_conn::nrtx |
The number of retransmissions for the last
segment sent.
Definition at line 1314 of file uip.h.
Referenced by uip_process().
u8_t uip_conn::rcv_nxt[4] |
The sequence number that we expect to
receive next.
Definition at line 1298 of file uip.h.
Referenced by uip_process().
uip_ipaddr_t uip_conn::ripaddr |
The IP address of the remote host.
Definition at line 1292 of file uip.h.
Referenced by uip_process().
u16_t uip_conn::rport |
The local remote TCP port, in network byte
order.
Definition at line 1295 of file uip.h.
Referenced by uip_process().
u8_t uip_conn::rto |
u8_t uip_conn::sa |
Retransmission time-out calculation state
variable.
Definition at line 1307 of file uip.h.
Referenced by uip_process().
u8_t uip_conn::snd_nxt[4] |
The sequence number that was last sent by
us.
Definition at line 1300 of file uip.h.
Referenced by uip_process().
u8_t uip_conn::sv |
Retransmission time-out calculation state
variable.
Definition at line 1309 of file uip.h.
Referenced by uip_process().
u8_t uip_conn::tcpstateflags |
TCP state and flags.
Definition at line 1312 of file uip.h.
Referenced by uip_init(), and uip_process().
u8_t uip_conn::timer |