⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module tcp

Module tcp 

Source
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