Skip to content

Struct SYN_TcpConn

ClassList > SYN_TcpConn

Single TCP socket connection control block.

  • #include <syn_tcp.h>

Public Attributes

Type Name
uint32_t ack_nxt
SYN_Task * blocked_task
uint32_t local_ip
uint16_t local_port
uint32_t remote_ip
uint8_t remote_mac
uint16_t remote_port
uint8_t rx_buf
uint16_t rx_len
uint32_t seq_nxt
SYN_TcpState state
uint8_t tx_buf
uint16_t tx_len

Public Attributes Documentation

variable ack_nxt

uint32_t SYN_TcpConn::ack_nxt;

Expected next sequence number to receive.


variable blocked_task

SYN_Task* SYN_TcpConn::blocked_task;

Task currently blocked waiting on TCP data.


variable local_ip

uint32_t SYN_TcpConn::local_ip;

Local IPv4 address.


variable local_port

uint16_t SYN_TcpConn::local_port;

Local port.


variable remote_ip

uint32_t SYN_TcpConn::remote_ip;

Remote peer IPv4 address.


variable remote_mac

uint8_t SYN_TcpConn::remote_mac[6];

Remote peer Ethernet MAC address.


variable remote_port

uint16_t SYN_TcpConn::remote_port;

Remote peer port.


variable rx_buf

uint8_t SYN_TcpConn::rx_buf[SYN_TCP_BUF_SIZE];

Receive data buffer.


variable rx_len

uint16_t SYN_TcpConn::rx_len;

Length of buffered receive bytes.


variable seq_nxt

uint32_t SYN_TcpConn::seq_nxt;

Next sequence number to send.


variable state

SYN_TcpState SYN_TcpConn::state;

Connection state machine state.


variable tx_buf

uint8_t SYN_TcpConn::tx_buf[SYN_TCP_BUF_SIZE];

Transmit data buffer.


variable tx_len

uint16_t SYN_TcpConn::tx_len;

Length of buffered transmit bytes.



The documentation for this class was generated from the following file src/syntropic/net/syn_tcp.h