Crate etherparse [] [src]

Structs

Ethernet2Header

Ethernet II header.

Ipv4Header

IPv4 header without options.

Ipv6Header

IPv6 header according to rfc8200.

UdpHeader

Udp header according to rfc768.

VlanTaggingHeader

IEEE 802.1Q VLAN Tagging Header

Enums

ErrorField

Fields that can produce errors when serialized.

EtherType

Ether type enum present in ethernet II header.

IpHeader

Internet protocol headers version 4 & 6

IpTrafficClass

Identifiers for the traffic_class field in ipv6 headers and protocol field in ipv4 headers.

ReadError

Errors that can occur when reading.

ValueError

Errors in the given data

WriteError

Errors that can occur when writing.

Traits

ReadEtherExt

Helper for reading headers. Import this for adding read functions to every struct that implements the trait Read.

SerializedSize

Contains the size when serialized.

WriteEtherExt

Helper for writing headers. Import this for adding write functions to every struct that implements the trait Read.