Class RadiotapDataRxFlags
java.lang.Object
org.pcap4j.packet.RadiotapDataRxFlags
- All Implemented Interfaces:
Serializable, RadiotapPacket.RadiotapData
Radiotap RX flags field. Properties of received frames.
- Since:
- pcap4j 1.6.5
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate static final intprivate final booleanprivate final booleanprivate static final longprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRadiotapDataRxFlags(byte[] rawData, int offset, int length) private -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleangetLsb()booleanbyte[]booleanbooleanbooleanbooleanbooleanbooleanbooleaninthashCode()booleanintlength()static RadiotapDataRxFlagsnewInstance(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:
-
lsb
private final boolean lsb -
badPlcpCrc
private final boolean badPlcpCrc -
thirdLsb
private final boolean thirdLsb -
fourthLsb
private final boolean fourthLsb -
fifthLsb
private final boolean fifthLsb -
sixthLsb
private final boolean sixthLsb -
seventhLsb
private final boolean seventhLsb -
eighthLsb
private final boolean eighthLsb -
ninthLsb
private final boolean ninthLsb -
tenthLsb
private final boolean tenthLsb -
eleventhLsb
private final boolean eleventhLsb -
twelvethLsb
private final boolean twelvethLsb -
thirteenthLsb
private final boolean thirteenthLsb -
fourteenthLsb
private final boolean fourteenthLsb -
fifteenthLsb
private final boolean fifteenthLsb -
sixteenthLsb
private final boolean sixteenthLsb
-
-
Constructor Details
-
RadiotapDataRxFlags
- Throws:
IllegalRawDataException
-
RadiotapDataRxFlags
-
-
Method Details
-
newInstance
public static RadiotapDataRxFlags 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 RadiotapRxFlags object.
- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
getLsb
public boolean getLsb()- Returns:
- true if the LSB is set to 1; otherwise false.
-
isBadPlcpCrc
public boolean isBadPlcpCrc()- Returns:
- badPlcpCrc
-
getThirdLsb
public boolean getThirdLsb()- Returns:
- true if the third LSB is set to 1; otherwise false.
-
getFourthLsb
public boolean getFourthLsb()- Returns:
- true if the fourth LSB is set to 1; otherwise false.
-
getFifthLsb
public boolean getFifthLsb()- Returns:
- true if the fifth LSB is set to 1; otherwise false.
-
getSixthLsb
public boolean getSixthLsb()- Returns:
- true if the sixth LSB is set to 1; otherwise false.
-
getSeventhLsb
public boolean getSeventhLsb()- Returns:
- true if the seventh LSB is set to 1; otherwise false.
-
getEighthLsb
public boolean getEighthLsb()- Returns:
- true if the eighth LSB is set to 1; otherwise false.
-
getNinthLsb
public boolean getNinthLsb()- Returns:
- true if the ninth LSB is set to 1; otherwise false.
-
getTenthLsb
public boolean getTenthLsb()- Returns:
- true if the tenth LSB is set to 1; otherwise false.
-
getEleventhLsb
public boolean getEleventhLsb()- Returns:
- true if the eleventh LSB is set to 1; otherwise false.
-
getTwelvethLsb
public boolean getTwelvethLsb()- Returns:
- true if the twelveth LSB is set to 1; otherwise false.
-
getThirteenthLsb
public boolean getThirteenthLsb()- Returns:
- true if the thirteenth LSB is set to 1; otherwise false.
-
getFourteenthLsb
public boolean getFourteenthLsb()- Returns:
- true if the fourteenth LSB is set to 1; otherwise false.
-
getFifteenthLsb
public boolean getFifteenthLsb()- Returns:
- true if the fifteenth LSB is set to 1; otherwise false.
-
getSixteenthLsb
public boolean getSixteenthLsb()- Returns:
- true if the sixteenth LSB is set to 1; otherwise false.
-
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
-