uip_conn Struct Reference
[Uip]

#include <uip.h>


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 size of this field is configured in the "uipopt.h" header file.

Definition at line 771 of file uip.h.

Data Fields

u16_t ripaddr [2]
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
u8_t appstate [UIP_APPSTATE_SIZE]


Field Documentation

u8_t uip_conn::appstate[UIP_APPSTATE_SIZE]
 

The application state.

Definition at line 798 of file uip.h.

u16_t uip_conn::initialmss
 

Initial maximum segment size for the connection.

Definition at line 785 of file uip.h.

Referenced by uip_init().

u16_t uip_conn::len
 

Length of the data that was previously sent.

Definition at line 782 of file uip.h.

Referenced by uip_init().

u16_t uip_conn::lport
 

The local TCP port, in network byte order.

Definition at line 774 of file uip.h.

Referenced by uip_init().

u16_t uip_conn::mss
 

Current maximum segment size for the connection.

Definition at line 783 of file uip.h.

Referenced by uip_init().

u8_t uip_conn::nrtx
 

The number of retransmissions for the last segment sent.

Definition at line 794 of file uip.h.

Referenced by uip_init().

u8_t uip_conn::rcv_nxt[4]
 

The sequence number that we expect to receive next.

Definition at line 778 of file uip.h.

Referenced by uip_add_rcv_nxt().

u16_t uip_conn::ripaddr[2]
 

The IP address of the remote host.

Definition at line 772 of file uip.h.

Referenced by uip_init().

u16_t uip_conn::rport
 

The local remote TCP port, in network byte order.

Definition at line 775 of file uip.h.

Referenced by uip_init().

u8_t uip_conn::rto
 

Retransmission time-out.

Definition at line 791 of file uip.h.

Referenced by uip_init().

u8_t uip_conn::sa
 

Retransmission time-out calculation state variable.

Definition at line 787 of file uip.h.

Referenced by uip_init().

u8_t uip_conn::snd_nxt[4]
 

The sequence number that was last sent by us.

Definition at line 780 of file uip.h.

Referenced by uip_init().

u8_t uip_conn::sv
 

Retransmission time-out calculation state variable.

Definition at line 789 of file uip.h.

Referenced by uip_init().

u8_t uip_conn::tcpstateflags
 

TCP state and flags.

Definition at line 792 of file uip.h.

Referenced by uip_init(), and uip_process().

u8_t uip_conn::timer
 

The retransmission timer.

Definition at line 793 of file uip.h.

Referenced by uip_init(), and uip_process().


The documentation for this struct was generated from the following file:
Generated on Fri Jan 6 22:23:18 2006 for EtherProgs by  doxygen 1.4.5