Class Racket::L2::Ethernet
In: lib/racket/l2/ethernet.rb  (CVS)
Parent: RacketPart

Constants

ETHERTYPE_IPV4 = 0x0800
ETHERTYPE_ARP = 0x0806
ETHERTYPE_RARP = 0x8035
ETHERTYPE_APPLETALK = 0x809b
ETHERTYPE_AARP = 0x80f3
ETHERTYPE_8021Q = 0x8100
ETHERTYPE_IPX = 0x8137
ETHERTYPE_NOVELL = 0x8138
ETHERTYPE_IPV6 = 0x86DD
ETHERTYPE_MPLS_UNICAST = 0x8847
ETHERTYPE_MPLS_MULTICAST = 0x8848
ETHERTYPE_PPPOE_DISCOVERY = 0x8863
ETHERTYPE_PPPOE_SESSION = 0x8864
ETHERTYPE_8021X = 0x888E
ETHERTYPE_ATAOE = 0x88A2
ETHERTYPE_8021AE = 0x88E5

Attributes

dst_mac    Destination MAC address
ethertype    Protocol of payload send with this ethernet datagram. Defaults to IPV4
payload    Payload
src_mac    Source MAC address

[Validate]