Skip to main content

net_wire/tcp/
mod.rs

1//! Transmission Control Protocol views and caller-buffer construction (RFC 9293).
2
3mod builder;
4#[cfg(any(
5    all(feature = "tcp", feature = "ipv4"),
6    all(feature = "tcp", feature = "ipv6")
7))]
8mod checksum;
9mod flags;
10pub(crate) mod segment;
11
12pub use builder::{TcpSegmentBuildError, TcpSegmentBuilder};
13#[cfg(any(
14    all(feature = "tcp", feature = "ipv4"),
15    all(feature = "tcp", feature = "ipv6")
16))]
17pub use checksum::TcpChecksumError;
18pub use flags::TcpFlags;
19pub use segment::{TcpSegment, TcpSegmentMut};