Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

tcp_socket Struct Reference
[XgTcpSocketXgTcpSocket]

TCP socket information structure. More...

#include <sys/sock_var.h>


Data Fields

TCPSOCKETso_next
 Link to next tcp socket structure.

volatile u_char so_state
 Connection state, see tcp_fsm.h.

u_long so_local_addr
 Local IP address in net byte order.

u_short so_local_port
 Local port number in net byte order.

u_long so_remote_addr
 Remote IP address in net byte order.

u_short so_remote_port
 Remote port number in net byte order.

u_char so_tx_flags
 Flags used during transmissions - see below.

u_long so_tx_isn
 Initial sequence number.

u_long so_tx_una
 Unacknowledged sequence number.

u_long so_tx_nxt
 Next sequence number to send.

u_long so_tx_wl1
 Sequence number of last window update.

u_long so_tx_wl2
 Acknowledged sequence of last window update.

u_short so_tx_win
 Peer's receive window.

u_char so_tx_dup
 Duplicate ACK counter.

NETBUFso_tx_nbq
 Network buffers waiting to be acknowledged.

HANDLE so_tx_tq
 Threads waiting for transmit buffer space.

u_long so_rx_isn
 Initial sequence number of remote.

u_long so_rx_nxt
 Next sequence number to receive.

u_short so_rx_win
 Local receive window.

u_short so_rx_cnt
 Number of data bytes in the receive buffer.

u_short so_rx_bsz
 Receive buffer size.

u_charso_rx_buf
 Data waiting to be read by application.

HANDLE so_rx_tq
 Threads waiting for received data.

NETBUFso_rx_nbq
 Network buffers received in advance.

u_short so_mss
 MSS, limited by remote option or MTU.

u_long so_rto_next
 Next round-trip timeout.

u_long so_srtt_avg
 Scaled round-trip timer average.

u_long so_srtt_var
 Scaled round-trip timer variance.

u_short so_retransmits
 Number of retransmits.

u_short so_time_wait
 Time wait counter.

u_short so_retran_time
 Retransmit time counter.

u_short so_last_error
 Last error code.

HANDLE so_pc_tq
 Listening thread.

HANDLE so_ac_tq
 Connecting thread.

u_long so_read_to
 Read timeout.

u_long so_write_to
 Write timeout.

u_long so_oos_drop
 Out of sequence dropped.


Detailed Description

TCP socket information structure.


The documentation for this struct was generated from the following file:
Generated on Thu Jan 30 22:30:56 2003 for EduNet by doxygen1.2.18