weAut_01 / weAutSys    R 2.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Data Fields
uipConn_t Struct Reference

Data Fields

uip_tcp_appstate_t appstate
 The application state.
uint16_t initialmss
 Initial maximum segment size for the connection.
uint16_t len
 Length of the data that was previously sent.
uint16_t lport
 The local TCP port, in network byte order.
uint16_t mss
 Current maximum segment size for the connection.
uint8_t nrtx
 The number of retransmissions for the last segment sent.
uint8_t rcv_nxt [4]
 The sequence number that we expect to receive next.
uint16_t readIndex
 for the LAN (stream) input functions
uip_ipaddr_t ripaddr
 The IP address of the remote host.
uint16_t rport
 The remote TCP port, in network byte order.
uint8_t rto
 Retransmission time-out.
uint8_t sa
 Retransmission time-out calculation state variable.
uint8_t snd_nxt [4]
 The sequence number that was last sent by us.
uint8_t sv
 Retransmission time-out calculation state variable.
uint8_t tcpstateflags
 TCP state and flags.
uint8_t timer
 The retransmission timer.
uint16_t writeIndex
 for the LAN (stream) output functions

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 application software. The only exception is the field appstate whose purpose is to let the application store application-specific state for the connection in a structure of appropriate type (e.g. cliThr_data_t or ntpState_t) not longer than the specified specified maximum size.


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