Class RadiotapDataAMpduStatus
java.lang.Object
org.pcap4j.packet.RadiotapDataAMpduStatus
- All Implemented Interfaces:
Serializable, RadiotapPacket.RadiotapData
Radiotap A-MPDU status field.
- Since:
- pcap4j 1.6.5
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final byteprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate static final intprivate final booleanprivate final booleanprivate final intprivate final byteprivate final booleanprivate static final longprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRadiotapDataAMpduStatus(byte[] rawData, int offset, int length) private -
Method Summary
Modifier and TypeMethodDescriptionbooleanbytebooleanbooleanbooleanbooleanbooleanbooleanbyte[]intlongbytebooleanbooleanbooleanbooleanbooleaninthashCode()booleanbooleanbooleanbooleanbooleanintlength()static RadiotapDataAMpduStatusnewInstance(byte[] rawData, int offset, int length) A static factory method.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
LENGTH
private static final int LENGTH- See Also:
-
referenceNumber
private final int referenceNumber -
driverReportsZeroLengthSubframes
private final boolean driverReportsZeroLengthSubframes -
zeroLengthSubframe
private final boolean zeroLengthSubframe -
lastSubframeKnown
private final boolean lastSubframeKnown -
lastSubframe
private final boolean lastSubframe -
delimiterCrcError
private final boolean delimiterCrcError -
delimiterCrcValueKnown
private final boolean delimiterCrcValueKnown -
tenthMsbOfFlags
private final boolean tenthMsbOfFlags -
ninthMsbOfFlags
private final boolean ninthMsbOfFlags -
eighthMsbOfFlags
private final boolean eighthMsbOfFlags -
seventhMsbOfFlags
private final boolean seventhMsbOfFlags -
sixthMsbOfFlags
private final boolean sixthMsbOfFlags -
fifthMsbOfFlags
private final boolean fifthMsbOfFlags -
fourthMsbOfFlags
private final boolean fourthMsbOfFlags -
thirdMsbOfFlags
private final boolean thirdMsbOfFlags -
secondMsbOfFlags
private final boolean secondMsbOfFlags -
msbOfFlags
private final boolean msbOfFlags -
delimiterCrcValue
private final byte delimiterCrcValue -
reserved
private final byte reserved
-
-
Constructor Details
-
RadiotapDataAMpduStatus
private RadiotapDataAMpduStatus(byte[] rawData, int offset, int length) throws IllegalRawDataException - Throws:
IllegalRawDataException
-
RadiotapDataAMpduStatus
-
-
Method Details
-
newInstance
public static RadiotapDataAMpduStatus newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.- Parameters:
rawData- rawDataoffset- offsetlength- length- Returns:
- a new RadiotapAMpduStatus object.
- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
getReferenceNumber
public int getReferenceNumber()- Returns:
- referenceNumber
-
getReferenceNumberAsLong
public long getReferenceNumberAsLong()- Returns:
- referenceNumber
-
getDriverReportsZeroLengthSubframes
public boolean getDriverReportsZeroLengthSubframes()- Returns:
- true if the driver reports 0-length subframes; false otherwise.
-
isZeroLengthSubframe
public boolean isZeroLengthSubframe()- Returns:
- true if this is a 0-length subframe; false otherwise.
-
isLastSubframeKnown
public boolean isLastSubframeKnown()- Returns:
- true if the last subframe is known; false otherwise.
-
isLastSubframe
public boolean isLastSubframe()- Returns:
- true if this is the last subframe; false otherwise.
-
isDelimiterCrcError
public boolean isDelimiterCrcError()- Returns:
- true if delimiter CRC error on this subframe; false otherwise.
-
isDelimiterCrcValueKnown
public boolean isDelimiterCrcValueKnown()- Returns:
- true if the delimiter CRC value is known; false otherwise.
-
getTenthMsbOfFlags
public boolean getTenthMsbOfFlags()- Returns:
- true if the 10th MSB of the flags field is set to 1; false otherwise.
-
getNinthMsbOfFlags
public boolean getNinthMsbOfFlags()- Returns:
- true if the 9th MSB of the flags field is set to 1; false otherwise.
-
getEighthMsbOfFlags
public boolean getEighthMsbOfFlags()- Returns:
- true if the 8th MSB of the flags field is set to 1; false otherwise.
-
getSeventhMsbOfFlags
public boolean getSeventhMsbOfFlags()- Returns:
- true if the 7th MSB of the flags field is set to 1; false otherwise.
-
getSixthMsbOfFlags
public boolean getSixthMsbOfFlags()- Returns:
- true if the 6th MSB of the flags field is set to 1; false otherwise.
-
getFifthMsbOfFlags
public boolean getFifthMsbOfFlags()- Returns:
- true if the 5th MSB of the flags field is set to 1; false otherwise.
-
getFourthMsbOfFlags
public boolean getFourthMsbOfFlags()- Returns:
- true if the 4th MSB of the flags field is set to 1; false otherwise.
-
getThirdMsbOfFlags
public boolean getThirdMsbOfFlags()- Returns:
- true if the 3rd MSB of the flags field is set to 1; false otherwise.
-
getSecondMsbOfFlags
public boolean getSecondMsbOfFlags()- Returns:
- true if the 2nd MSB of the flags field is set to 1; false otherwise.
-
getMsbOfFlags
public boolean getMsbOfFlags()- Returns:
- true if the MSB of the flags field is set to 1; false otherwise.
-
getDelimiterCrcValue
public byte getDelimiterCrcValue()- Returns:
- delimiterCrcValue
-
getReserved
public byte getReserved()- Returns:
- reserved
-
length
public int length()- Specified by:
lengthin interfaceRadiotapPacket.RadiotapData- Returns:
- length
-
getRawData
public byte[] getRawData()- Specified by:
getRawDatain interfaceRadiotapPacket.RadiotapData- Returns:
- raw data
-
getBuilder
- Returns:
- a new Builder object populated with this object's fields.
-
toString
-
toString
- Specified by:
toStringin interfaceRadiotapPacket.RadiotapData- Parameters:
indent- indent- Returns:
- String representation of this object.
-
hashCode
-
equals
-