パッケージ org.pcap4j.packet
クラス RadiotapPacket.RadiotapHeader
- java.lang.Object
-
- org.pcap4j.packet.AbstractPacket.AbstractHeader
-
- org.pcap4j.packet.RadiotapPacket.RadiotapHeader
-
- すべての実装されたインタフェース:
Serializable
,Packet.Header
- 含まれているクラス:
- RadiotapPacket
public static final class RadiotapPacket.RadiotapHeader extends AbstractPacket.AbstractHeader
Radiotap Header + Extended presence masks + Radiotap fieldsstruct ieee80211_radiotap_header { u_int8_t it_version; // currently, this is always 0 u_int8_t it_pad; // currently unused, just for for the alignment u_int16_t it_len; // entire length u_int32_t it_present; // presence mask } __attribute__((__packed__));
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 protected String
buildString()
This method builds the valuetoString()
will return.protected int
calcHashCode()
This method builds the valuehashCode()
will return using the byte arraygetRawData()
returns.int
calcLength()
This method calculates the valuelength()
will return by adding up the lengths of byte arrays in the listgetRawFields()
returns.boolean
equals(Object obj)
Indicates whether some other object is "equal to" this one using return values ofgetRawData()
.ArrayList<RadiotapPacket.RadiotapData>
getDataFields()
short
getLength()
int
getLengthAsInt()
byte
getPad()
ArrayList<RadiotapPresentBitmask>
getPresentBitmasks()
protected List<byte[]>
getRawFields()
Returns a list of byte arrays which represents this header's fields.byte
getVersion()
int
getVersionAsInt()
-
クラスから継承されたメソッド org.pcap4j.packet.AbstractPacket.AbstractHeader
buildHexString, buildRawData, getRawData, hashCode, length, toHexString, toString
-
-
-
-
メソッドの詳細
-
getVersion
public byte getVersion()
- 戻り値:
- version
-
getVersionAsInt
public int getVersionAsInt()
- 戻り値:
- version
-
getPad
public byte getPad()
- 戻り値:
- pad
-
getLength
public short getLength()
- 戻り値:
- length
-
getLengthAsInt
public int getLengthAsInt()
- 戻り値:
- length
-
getPresentBitmasks
public ArrayList<RadiotapPresentBitmask> getPresentBitmasks()
- 戻り値:
- presentBitmasks
-
getDataFields
public ArrayList<RadiotapPacket.RadiotapData> getDataFields()
- 戻り値:
- dataFields
-
getRawFields
protected List<byte[]> getRawFields()
クラスからコピーされた説明:AbstractPacket.AbstractHeader
Returns a list of byte arrays which represents this header's fields. This method is called bycalcLength()
andbuildRawData()
.- 定義:
getRawFields
クラス内AbstractPacket.AbstractHeader
- 戻り値:
- a list of byte arrays which represents this header's fields
-
calcLength
public int calcLength()
クラスからコピーされた説明:AbstractPacket.AbstractHeader
This method calculates the valuelength()
will return by adding up the lengths of byte arrays in the listgetRawFields()
returns.- オーバーライド:
calcLength
クラス内AbstractPacket.AbstractHeader
- 戻り値:
- a calculated length
-
buildString
protected String buildString()
クラスからコピーされた説明:AbstractPacket.AbstractHeader
This method builds the valuetoString()
will return.- オーバーライド:
buildString
クラス内AbstractPacket.AbstractHeader
- 戻り値:
- a string representation of this object
-
equals
public boolean equals(Object obj)
クラスからコピーされた説明:AbstractPacket.AbstractHeader
Indicates whether some other object is "equal to" this one using return values ofgetRawData()
. This method should be overridden so that it does more strict comparisons more efficiently.- オーバーライド:
equals
クラス内AbstractPacket.AbstractHeader
-
calcHashCode
protected int calcHashCode()
クラスからコピーされた説明:AbstractPacket.AbstractHeader
This method builds the valuehashCode()
will return using the byte arraygetRawData()
returns. This method may be better to be overridden for performance reason.- オーバーライド:
calcHashCode
クラス内AbstractPacket.AbstractHeader
- 戻り値:
- a calculated hash code value for the object
-
-