public final class Dot11FrameControl extends Object implements Serializable
0 1 2 3 4 5 6 7 +----------+----------+----------+----------+----------+----------+----------+----------+ | Protocol | Type | Subtype | | Version | | | +----------+----------+----------+----------+----------+----------+----------+----------+ | To DS | From DS |More | Retry |Power | More |Protected | Order | | | |Fragments | |Management| Data |Frame | | +----------+----------+----------+----------+----------+----------+----------+----------+
Modifier and Type | Class and Description |
---|---|
static class |
Dot11FrameControl.Builder |
static class |
Dot11FrameControl.ProtocolVersion
Protocol version of IEEE802.11 frame
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Dot11FrameControl.Builder |
getBuilder() |
Dot11FrameControl.ProtocolVersion |
getProtocolVersion() |
byte[] |
getRawData() |
Dot11FrameType |
getType() |
int |
hashCode() |
boolean |
isFromDs() |
boolean |
isMoreData() |
boolean |
isMoreFragments() |
boolean |
isOrder() |
boolean |
isPowerManagement() |
boolean |
isProtectedFrame() |
boolean |
isRetry() |
boolean |
isToDs() |
int |
length() |
static Dot11FrameControl |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
String |
toString(String indent) |
public static Dot11FrameControl newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthIllegalRawDataException
- if parsing the raw data fails.public Dot11FrameControl.ProtocolVersion getProtocolVersion()
public Dot11FrameType getType()
public boolean isToDs()
public boolean isFromDs()
public boolean isMoreFragments()
public boolean isRetry()
public boolean isPowerManagement()
public boolean isMoreData()
public boolean isProtectedFrame()
public boolean isOrder()
public Dot11FrameControl.Builder getBuilder()
public byte[] getRawData()
public int length()
public String toString(String indent)
indent
- indentCopyright © 2011–2017 Pcap4J.org. All rights reserved.