2 unstable releases
0.1.0 | Oct 31, 2024 |
---|---|
0.0.1 | Oct 25, 2024 |
#799 in Network programming
36 downloads per month
435KB
8K
SLoC
ethertype-rs
A crate providing the EtherType
type for representing IEEE 802 EtherType values.
This crate provides constants for the most common EtherTypes, and their textual descriptions. Additionally, descriptions from IANA, as well as protocol descriptions and the names of the organizations that registered them sourced from the IEEE Registration Authority are also made available.
lib.rs
:
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.