public final class EtherType extends NamedNumber<Short,EtherType>
| Modifier and Type | Field and Description |
|---|---|
static EtherType |
APPLETALK
Appletalk: 0x809b
|
static EtherType |
ARP
ARP: 0x0806
|
static EtherType |
DOT1Q_VLAN_TAGGED_FRAMES
IEEE 802.1Q VLAN-tagged frames: 0x8100
|
static int |
IEEE802_3_MAX_LENGTH |
static EtherType |
IPV4
IPv4: 0x0800
|
static EtherType |
IPV6
IPv6: 0x86dd
|
static EtherType |
MPLS
MPLS: 0x8847
|
static EtherType |
PPP
PPP: 0x880b
|
static EtherType |
PPPOE_DISCOVERY_STAGE
PPPoE Discovery Stage: 0x8863
|
static EtherType |
PPPOE_SESSION_STAGE
PPPoE Session Stage: 0x8864
|
static EtherType |
RARP
RARP: 0x8035
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EtherType o) |
static EtherType |
getInstance(Short value) |
static EtherType |
register(EtherType type) |
String |
toString() |
String |
valueAsString() |
equals, hashCode, name, valuepublic static final int IEEE802_3_MAX_LENGTH
public static final EtherType IPV4
public static final EtherType ARP
public static final EtherType DOT1Q_VLAN_TAGGED_FRAMES
public static final EtherType RARP
public static final EtherType APPLETALK
public static final EtherType IPV6
public static final EtherType PPP
public static final EtherType MPLS
public static final EtherType PPPOE_DISCOVERY_STAGE
public static final EtherType PPPOE_SESSION_STAGE
public static EtherType getInstance(Short value)
value - valuepublic static EtherType register(EtherType type)
type - typepublic String valueAsString()
valueAsString in class NamedNumber<Short,EtherType>public int compareTo(EtherType o)
compareTo in interface Comparable<EtherType>compareTo in class NamedNumber<Short,EtherType>public String toString()
toString in class NamedNumber<Short,EtherType>Copyright © 2011–2016 Pcap4J.org. All rights reserved.