Module net::tcp
TCP Layer (minimal state machine) Freestanding-safe. No dynamic allocation — caller supplies fixed buffers.
Structs
| TcpHdr | |
| TcpConn |
Functions
| tcp_parse | Parse TCP header from pkt at byte offset offset. Returns 0 on success,
-1 if the packet is truncated or the data offset is invalid. |
| tcp_checksum | Compute TCP checksum (pseudo-header + segment). |