クラス DataLinkType
- java.lang.Object
-
- org.pcap4j.packet.namednumber.NamedNumber<Integer,DataLinkType>
-
- org.pcap4j.packet.namednumber.DataLinkType
-
- すべての実装されたインタフェース:
Serializable
,Comparable<DataLinkType>
public final class DataLinkType extends NamedNumber<Integer,DataLinkType>
Pcap Data Link Type- 導入されたバージョン:
- pcap4j 0.9.1
- 作成者:
- Kaito Yamada
- 関連項目:
- pcap/bpf.h, tcpdump.org, 直列化された形式
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 static DataLinkType
DOCSIS
DOCSIS MAC frames: 143static DataLinkType
EN10MB
Ethernet (10Mb, 100Mb, 1000Mb, and up): 1static DataLinkType
FDDI
FDDI: 10static DataLinkType
IEEE802
802.5 Token Ring: 6static DataLinkType
IEEE802_11
IEEE 802.11 wireless: 105static DataLinkType
IEEE802_11_RADIO
Radiotap: 127 - Header for 802.11 plus a number of bits of link-layer information including radio information, used by some recent BSD drivers as well as the madwifi Atheros driver for Linux.static DataLinkType
LINUX_SLL
Linux cooked-mode capture (SLL): 113static DataLinkType
NULL
Null (BSD loopback encapsulation): 0static DataLinkType
PPP
Point-to-point Protocol: 9static DataLinkType
PPP_SERIAL
PPP over serial with HDLC encapsulation: 50static DataLinkType
RAW
RAW IP packet: 14 on OpenBSD, or 12 on the others.
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 DataLinkType(Integer value, String name)
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 int
compareTo(DataLinkType o)
static DataLinkType
getInstance(Integer value)
static DataLinkType
register(DataLinkType type)
String
valueAsString()
-
-
-
フィールドの詳細
-
NULL
public static final DataLinkType NULL
Null (BSD loopback encapsulation): 0
-
EN10MB
public static final DataLinkType EN10MB
Ethernet (10Mb, 100Mb, 1000Mb, and up): 1
-
IEEE802
public static final DataLinkType IEEE802
802.5 Token Ring: 6
-
PPP
public static final DataLinkType PPP
Point-to-point Protocol: 9
-
FDDI
public static final DataLinkType FDDI
FDDI: 10
-
RAW
public static final DataLinkType RAW
RAW IP packet: 14 on OpenBSD, or 12 on the others. If you want to change this value, set the property org.pcap4j.dlt.raw (system property or pcap4j.properties) to an integer before using this class.
-
PPP_SERIAL
public static final DataLinkType PPP_SERIAL
PPP over serial with HDLC encapsulation: 50
-
IEEE802_11
public static final DataLinkType IEEE802_11
IEEE 802.11 wireless: 105
-
LINUX_SLL
public static final DataLinkType LINUX_SLL
Linux cooked-mode capture (SLL): 113
-
IEEE802_11_RADIO
public static final DataLinkType IEEE802_11_RADIO
Radiotap: 127 - Header for 802.11 plus a number of bits of link-layer information including radio information, used by some recent BSD drivers as well as the madwifi Atheros driver for Linux.
-
DOCSIS
public static final DataLinkType DOCSIS
DOCSIS MAC frames: 143
-
-
メソッドの詳細
-
getInstance
public static DataLinkType getInstance(Integer value)
- パラメータ:
value
- value- 戻り値:
- a DataLinkType object.
-
register
public static DataLinkType register(DataLinkType type)
- パラメータ:
type
- type- 戻り値:
- a DataLinkType object.
-
valueAsString
public String valueAsString()
- オーバーライド:
valueAsString
クラス内NamedNumber<Integer,DataLinkType>
- 戻り値:
- a string representation of this value.
-
compareTo
public int compareTo(DataLinkType o)
- 定義:
compareTo
インタフェース内Comparable<DataLinkType>
- 定義:
compareTo
クラス内NamedNumber<Integer,DataLinkType>
-
-