- All Implemented Interfaces:
Serializable,Comparable<EtherType>
Ether Type
- Since:
- pcap4j 0.9.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EtherTypeAppletalk: 0x809bstatic final EtherTypeARP: 0x0806static final EtherTypeIEEE 802.1Q VLAN-tagged frames: 0x8100static final intstatic final EtherTypeIPv4: 0x0800static final EtherTypeIPv6: 0x86ddstatic final EtherTypeMPLS: 0x8847static final EtherTypePPP: 0x880bstatic final EtherTypePPPoE Discovery Stage: 0x8863static final EtherTypePPPoE Session Stage: 0x8864static final EtherTypeRARP: 0x8035private static final long -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.pcap4j.packet.namednumber.NamedNumber
equals, hashCode, name, value
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
IEEE802_3_MAX_LENGTH
public static final int IEEE802_3_MAX_LENGTH- See Also:
-
IPV4
IPv4: 0x0800 -
ARP
ARP: 0x0806 -
DOT1Q_VLAN_TAGGED_FRAMES
IEEE 802.1Q VLAN-tagged frames: 0x8100 -
RARP
RARP: 0x8035 -
APPLETALK
Appletalk: 0x809b -
IPV6
IPv6: 0x86dd -
PPP
PPP: 0x880b -
MPLS
MPLS: 0x8847 -
PPPOE_DISCOVERY_STAGE
PPPoE Discovery Stage: 0x8863 -
PPPOE_SESSION_STAGE
PPPoE Session Stage: 0x8864 -
registry
-
-
Constructor Details
-
EtherType
- Parameters:
value- valuename- name
-
-
Method Details
-
getInstance
- Parameters:
value- value- Returns:
- a EtherType object.
-
register
- Parameters:
type- type- Returns:
- a EtherType object.
-
valueAsString
- Overrides:
valueAsStringin classNamedNumber<Short,EtherType> - Returns:
- a string representation of this value.
-
compareTo
- Specified by:
compareToin interfaceComparable<EtherType>- Specified by:
compareToin classNamedNumber<Short,EtherType>
-
toString
- Overrides:
toStringin classNamedNumber<Short,EtherType>
-