Crate ethertype

Source
Expand description

A crate providing the EtherType type for representing IEEE 802 EtherType values.

The consts module contains the most common EtherTypes, the descriptions of which can be obtained using EtherType::description.

Additionally, descriptions from IANA can be obtained with EtherType::iana_description. Protocol descriptions and the names of the organizations that registered them sourced from the IEEE Registration Authority can be obtained with EtherType::ieee_description and EtherType::ieee_organization respectively.

Modules§

consts
Common EtherTypes
error

Structs§

EtherType
The EtherType field in an Ethernet header, as specified in IEEE 802.