クラス EtherType
- java.lang.Object
-
- org.pcap4j.packet.namednumber.NamedNumber<Short,EtherType>
-
- org.pcap4j.packet.namednumber.EtherType
-
- すべての実装されたインタフェース:
Serializable
,Comparable<EtherType>
public final class EtherType extends NamedNumber<Short,EtherType>
Ether Type- 導入されたバージョン:
- pcap4j 0.9.1
- 作成者:
- Kaito Yamada
- 関連項目:
- IANA Registry, 直列化された形式
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 static EtherType
APPLETALK
Appletalk: 0x809bstatic EtherType
ARP
ARP: 0x0806static EtherType
DOT1Q_VLAN_TAGGED_FRAMES
IEEE 802.1Q VLAN-tagged frames: 0x8100static int
IEEE802_3_MAX_LENGTH
static EtherType
IPV4
IPv4: 0x0800static EtherType
IPV6
IPv6: 0x86ddstatic EtherType
MPLS
MPLS: 0x8847static EtherType
PPP
PPP: 0x880bstatic EtherType
PPPOE_DISCOVERY_STAGE
PPPoE Discovery Stage: 0x8863static EtherType
PPPOE_SESSION_STAGE
PPPoE Session Stage: 0x8864static EtherType
RARP
RARP: 0x8035
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 int
compareTo(EtherType o)
static EtherType
getInstance(Short value)
static EtherType
register(EtherType type)
String
toString()
String
valueAsString()
-
クラスから継承されたメソッド org.pcap4j.packet.namednumber.NamedNumber
equals, hashCode, name, value
-
-
-
-
フィールドの詳細
-
IEEE802_3_MAX_LENGTH
public static final int IEEE802_3_MAX_LENGTH
- 関連項目:
- 定数フィールド値
-
IPV4
public static final EtherType IPV4
IPv4: 0x0800
-
ARP
public static final EtherType ARP
ARP: 0x0806
-
DOT1Q_VLAN_TAGGED_FRAMES
public static final EtherType DOT1Q_VLAN_TAGGED_FRAMES
IEEE 802.1Q VLAN-tagged frames: 0x8100
-
RARP
public static final EtherType RARP
RARP: 0x8035
-
APPLETALK
public static final EtherType APPLETALK
Appletalk: 0x809b
-
IPV6
public static final EtherType IPV6
IPv6: 0x86dd
-
PPP
public static final EtherType PPP
PPP: 0x880b
-
MPLS
public static final EtherType MPLS
MPLS: 0x8847
-
PPPOE_DISCOVERY_STAGE
public static final EtherType PPPOE_DISCOVERY_STAGE
PPPoE Discovery Stage: 0x8863
-
PPPOE_SESSION_STAGE
public static final EtherType PPPOE_SESSION_STAGE
PPPoE Session Stage: 0x8864
-
-
メソッドの詳細
-
getInstance
public static EtherType getInstance(Short value)
- パラメータ:
value
- value- 戻り値:
- a EtherType object.
-
register
public static EtherType register(EtherType type)
- パラメータ:
type
- type- 戻り値:
- a EtherType object.
-
valueAsString
public String valueAsString()
- オーバーライド:
valueAsString
クラス内NamedNumber<Short,EtherType>
- 戻り値:
- a string representation of this value.
-
compareTo
public int compareTo(EtherType o)
- 定義:
compareTo
インタフェース内Comparable<EtherType>
- 定義:
compareTo
クラス内NamedNumber<Short,EtherType>
-
toString
public String toString()
- オーバーライド:
toString
クラス内NamedNumber<Short,EtherType>
-
-