Module packet_formats::ethernet
source · Expand description
Parsing and serialization of Ethernet frames.
Modules§
- Constants useful for testing.
Structs§
- An Ethernet frame.
- A builder for Ethernet frames.
Enums§
- An EtherType number.
- Whether or not an Ethernet frame’s length should be checked during parsing.
Constants§
- The length of an Ethernet header when it has no tags.
- The minimum length of an Ethernet frame’s body when the header contains no tags.
Traits§
- An extension trait adding IP-related functionality to
Ipv4
andIpv6
.