Module packet_formats::tcp
source · Expand description
Parsing and serialization of TCP segments.
The TCP segment format is defined in [RFC 791 Section 3.3].
Modules§
- Parsing and serialization of TCP options.
Structs§
- Contains the TCP flow info and its sequence number.
- The minimal information required from a TCP segment header.
- Options provided to
TcpSegmentBuilderWithOptions::new
exceedMAX_OPTIONS_LEN
when serialized. - Arguments required to parse a TCP segment.
- A TCP segment.
- A builder for TCP segments.
- A builder for TCP segments with options
- A partially-parsed and not yet validated TCP segment.
Constants§
- The length of the fixed prefix of a TCP header (preceding the options).
- The maximum length of a TCP header.
- The maximum length of the options in a TCP header.