Module ethernet

Module ethernet 

Source
Expand description

Contains support for parsing and writing Ethernet frames. Does not currently offer support for 802.1Q tags.

Structs§

EthernetFrame
Interprets the inner bytes as an Ethernet frame.

Enums§

EthernetError
Describes the errors which may occur when handling Ethernet frames.

Constants§

ETHERTYPE_ARP
Ethertype value for ARP frames.
ETHERTYPE_IPV4
Ethertype value for IPv4 packets.
PAYLOAD_OFFSET
Payload offset in an ethernet frame