Crate ethertype

Crate ethertype 

Source
Expand description

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

EtherType has associated constants for the most common EtherType values, 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§

error

Structs§

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