public static enum EthType.EtherType extends Enum<EthType.EtherType>
Enum Constant and Description |
---|
ARP |
BDDP |
EAPOL |
IPV4 |
IPV6 |
LLDP |
MPLS_MULTICAST |
MPLS_UNICAST |
QINQ |
RARP |
SLOW |
UNKNOWN |
VLAN |
Modifier and Type | Method and Description |
---|---|
Deserializer<?> |
deserializer() |
EthType |
ethType() |
static EthType.EtherType |
lookup(short etherType) |
String |
toString() |
static EthType.EtherType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EthType.EtherType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EthType.EtherType ARP
public static final EthType.EtherType RARP
public static final EthType.EtherType IPV4
public static final EthType.EtherType IPV6
public static final EthType.EtherType LLDP
public static final EthType.EtherType VLAN
public static final EthType.EtherType QINQ
public static final EthType.EtherType BDDP
public static final EthType.EtherType MPLS_UNICAST
public static final EthType.EtherType MPLS_MULTICAST
public static final EthType.EtherType EAPOL
public static final EthType.EtherType SLOW
public static final EthType.EtherType UNKNOWN
public static EthType.EtherType[] values()
for (EthType.EtherType c : EthType.EtherType.values()) System.out.println(c);
public static EthType.EtherType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic EthType ethType()
public String toString()
toString
in class Enum<EthType.EtherType>
public Deserializer<?> deserializer()
public static EthType.EtherType lookup(short etherType)