Expand description
TCP protocol implementation
Implements the TCP state machine with 3-way handshake, data transfer with sequence numbers, simple retransmission, and orderly close.
Structs§
- TcpConnection
- TCP connection
- TcpFlags
- TCP header flags
- TcpStats
- TCP statistics
Enums§
- TcpState
- TCP connection state
Functions§
- close_
connection - Close a TCP connection
- get_
stats - Get connection statistics
- init
- Initialize TCP
- process_
packet - Process incoming TCP packet (called by IP layer).
- receive_
data - Receive data from TCP connection
- transmit_
data - Transmit data from socket layer