![]() |
EVE 1.0
|
#include <uip.h>
Data Fields | |
uip_ipaddr_t | ripaddr |
uint16_t | lport |
uint16_t | rport |
uint8_t | rcv_nxt [4] |
uint8_t | snd_nxt [4] |
struct dlist_t | backlog |
uint16_t | len |
uint16_t | mss |
uint16_t | initialmss |
uint16_t | window |
uint8_t | sa |
uint8_t | sv |
uint8_t | rto |
uint8_t | tcpstateflags |
uint8_t | timer |
uint8_t | nrtx |
uint8_t | arpid |
uip_tcp_appstate_t | appstate |
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_ipaddr_t uip_conn::ripaddr |
The IP address of the remote host.
Definition at line 1347 of file uip.h.
Referenced by tcpip_output(), uip_init(), uip_process(), and uip_send().
uint16_t uip_conn::lport |
The local TCP port, in network byte order.
Definition at line 1349 of file uip.h.
Referenced by tcpip_input(), uip_init(), and uip_process().
uint16_t uip_conn::rport |
The local remote TCP port, in network byte order.
Definition at line 1350 of file uip.h.
Referenced by uip_init(), and uip_process().
uint8_t uip_conn::rcv_nxt[4] |
The sequence number that we expect to receive next.
Definition at line 1353 of file uip.h.
Referenced by uip_listen(), and uip_process().
uint8_t uip_conn::snd_nxt[4] |
The sequence number that was last sent by us.
Definition at line 1355 of file uip.h.
Referenced by uip_init(), and uip_process().
struct dlist_t uip_conn::backlog |
uint16_t uip_conn::len |
Number of bytes in the pipe
Definition at line 1358 of file uip.h.
Referenced by uip_init(), uip_process(), and uip_send().
uint16_t uip_conn::mss |
Current maximum segment size for the connection.
Definition at line 1359 of file uip.h.
Referenced by uip_init(), uip_process(), and uip_send().
uint16_t uip_conn::initialmss |
Initial maximum segment size for the connection.
Definition at line 1361 of file uip.h.
Referenced by uip_init(), and uip_process().
uint16_t uip_conn::window |
TX window size
Definition at line 1363 of file uip.h.
Referenced by uip_init(), uip_process(), and uip_send().
uint8_t uip_conn::sa |
Retransmission time-out calculation state variable.
Definition at line 1364 of file uip.h.
Referenced by uip_init(), and uip_process().
uint8_t uip_conn::sv |
Retransmission time-out calculation state variable.
Definition at line 1366 of file uip.h.
Referenced by uip_init(), and uip_process().
uint8_t uip_conn::rto |
Retransmission time-out.
Definition at line 1368 of file uip.h.
Referenced by uip_init(), and uip_process().
uint8_t uip_conn::tcpstateflags |
TCP state and flags.
Definition at line 1369 of file uip.h.
Referenced by tcpip_output(), uip_init(), and uip_process().
uint8_t uip_conn::timer |
The retransmission timer.
Definition at line 1370 of file uip.h.
Referenced by uip_init(), and uip_process().
uint8_t uip_conn::nrtx |
The number of retransmissions for the last segment sent.
Definition at line 1371 of file uip.h.
Referenced by uip_init(), and uip_process().
uint8_t uip_conn::arpid |
uip_tcp_appstate_t uip_conn::appstate |
The application state.
Definition at line 1377 of file uip.h.
Referenced by tcpip_input(), and tcpip_output().