Module tcp

Module tcp 

Source
Expand description

Contains support for parsing and writing TCP segments.

Here’s a useful depiction of the TCP header layout (watch out for the MSB 0 bit numbering.)

Structs§

Flags
Represents the TCP header flags, with the exception of NS.
TcpSegment
Interprets the inner bytes as a TCP segment.

Enums§

TcpError
Describes the errors which may occur while handling TCP segments.