github.com/borderzero/water@v0.0.1/waterutil/ethertypes.go (about)

     1  package waterutil
     2  
     3  type Ethertype [2]byte
     4  
     5  // Ethertype values. From: http://en.wikipedia.org/wiki/Ethertype
     6  var (
     7  	IPv4                = Ethertype{0x08, 0x00}
     8  	ARP                 = Ethertype{0x08, 0x06}
     9  	WakeOnLAN           = Ethertype{0x08, 0x42}
    10  	TRILL               = Ethertype{0x22, 0xF3}
    11  	DECnetPhase4        = Ethertype{0x60, 0x03}
    12  	RARP                = Ethertype{0x80, 0x35}
    13  	AppleTalk           = Ethertype{0x80, 0x9B}
    14  	AARP                = Ethertype{0x80, 0xF3}
    15  	IPX1                = Ethertype{0x81, 0x37}
    16  	IPX2                = Ethertype{0x81, 0x38}
    17  	QNXQnet             = Ethertype{0x82, 0x04}
    18  	IPv6                = Ethertype{0x86, 0xDD}
    19  	EthernetFlowControl = Ethertype{0x88, 0x08}
    20  	IEEE802_3           = Ethertype{0x88, 0x09}
    21  	CobraNet            = Ethertype{0x88, 0x19}
    22  	MPLSUnicast         = Ethertype{0x88, 0x47}
    23  	MPLSMulticast       = Ethertype{0x88, 0x48}
    24  	PPPoEDiscovery      = Ethertype{0x88, 0x63}
    25  	PPPoESession        = Ethertype{0x88, 0x64}
    26  	JumboFrames         = Ethertype{0x88, 0x70}
    27  	HomePlug1_0MME      = Ethertype{0x88, 0x7B}
    28  	IEEE802_1X          = Ethertype{0x88, 0x8E}
    29  	PROFINET            = Ethertype{0x88, 0x92}
    30  	HyperSCSI           = Ethertype{0x88, 0x9A}
    31  	AoE                 = Ethertype{0x88, 0xA2}
    32  	EtherCAT            = Ethertype{0x88, 0xA4}
    33  	EthernetPowerlink   = Ethertype{0x88, 0xAB}
    34  	LLDP                = Ethertype{0x88, 0xCC}
    35  	SERCOS3             = Ethertype{0x88, 0xCD}
    36  	HomePlugAVMME       = Ethertype{0x88, 0xE1}
    37  	MRP                 = Ethertype{0x88, 0xE3}
    38  	IEEE802_1AE         = Ethertype{0x88, 0xE5}
    39  	IEEE1588            = Ethertype{0x88, 0xF7}
    40  	IEEE802_1ag         = Ethertype{0x89, 0x02}
    41  	FCoE                = Ethertype{0x89, 0x06}
    42  	FCoEInit            = Ethertype{0x89, 0x14}
    43  	RoCE                = Ethertype{0x89, 0x15}
    44  	CTP                 = Ethertype{0x90, 0x00}
    45  	VeritasLLT          = Ethertype{0xCA, 0xFE}
    46  )