Crate dtp

Crate dtp 

Source

Modules§

datalink
network
transport

Structs§

Frame
Represents a Data Link Layer Frame. This is the final container, holding one or more Packets.
Header
A generic header containing a pair of addresses.
Packet
Represents a Network Layer Packet. It contains one or more Segments.
Segment
Represents a Transport Layer Segment. It carries the raw application data payload.

Traits§

LayerBuilder
A generic builder trait.
LayerSize
A trait for getting size information about a network layer.
ToBytes
A trait for types that can be serialized into a byte vector.

Type Aliases§

AddressPair
A generic container for a source and destination address pair.
Ipv4Address
Represents a Network Layer IPv4 address (u32).
MacAddress
Represents a Data Link Layer MAC address ([u8; 6]).
PortAddress
Represents a Transport Layer Port address (u16).