Contiki-NG
Data Fields
uip_conn Struct Reference

Representation of a uIP TCP connection. More...

#include <os/net/ipv6/uip.h>

Data Fields

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

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 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.

Definition at line 1324 of file uip.h.

Field Documentation

◆ initialmss

uint16_t uip_conn::initialmss

Initial maximum segment size for the connection.

Definition at line 1336 of file uip.h.

◆ len

uint16_t uip_conn::len

Length of the data that was previously sent.

Definition at line 1334 of file uip.h.

◆ lport

uint16_t uip_conn::lport

The local TCP port, in network byte order.

Definition at line 1327 of file uip.h.

◆ mss

uint16_t uip_conn::mss

Current maximum segment size for the connection.

Definition at line 1335 of file uip.h.

◆ nrtx

uint8_t uip_conn::nrtx

The number of retransmissions for the last segment sent.

Definition at line 1342 of file uip.h.

◆ rcv_nxt

uint8_t uip_conn::rcv_nxt[4]

The sequence number that we expect to receive next.

Definition at line 1331 of file uip.h.

◆ ripaddr

uip_ipaddr_t uip_conn::ripaddr

The IP address of the remote host.

Definition at line 1325 of file uip.h.

◆ rport

uint16_t uip_conn::rport

The local remote TCP port, in network byte order.

Definition at line 1328 of file uip.h.

◆ rto

uint8_t uip_conn::rto

Retransmission time-out.

Definition at line 1339 of file uip.h.

◆ sa

uint8_t uip_conn::sa

Retransmission time-out calculation state variable.

Definition at line 1337 of file uip.h.

◆ snd_nxt

uint8_t uip_conn::snd_nxt[4]

The sequence number that was last sent by us.

Definition at line 1333 of file uip.h.

◆ sv

uint8_t uip_conn::sv

Retransmission time-out calculation state variable.

Definition at line 1338 of file uip.h.

◆ tcpstateflags

uint8_t uip_conn::tcpstateflags

TCP state and flags.

Definition at line 1340 of file uip.h.

◆ timer

uint8_t uip_conn::timer

The retransmission timer.

Definition at line 1341 of file uip.h.