Struct 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¶
Expected next sequence number to receive.
variable blocked_task¶
Task currently blocked waiting on TCP data.
variable local_ip¶
Local IPv4 address.
variable local_port¶
Local port.
variable remote_ip¶
Remote peer IPv4 address.
variable remote_mac¶
Remote peer Ethernet MAC address.
variable remote_port¶
Remote peer port.
variable rx_buf¶
Receive data buffer.
variable rx_len¶
Length of buffered receive bytes.
variable seq_nxt¶
Next sequence number to send.
variable state¶
Connection state machine state.
variable tx_buf¶
Transmit data buffer.
variable tx_len¶
Length of buffered transmit bytes.
The documentation for this class was generated from the following file src/syntropic/net/syn_tcp.h