public final class Dot11MeshIdElement extends Dot11InformationElement
1 1 0-32
+----------+----------+----------
|Element ID| Length | Mesh ID
+----------+----------+----------
Element ID: 114
The Mesh ID element is used to advertise the identification of an MBSS. The Mesh ID element is
transmitted in Mesh Peering Open frames, Mesh Peering Confirm frames, Mesh Peering Close frames,
Beacon frames, and Probe Request and Response frames.
A Mesh ID field of length 0 indicates the wildcard Mesh ID, which is used within Probe Request
frame.| Modifier and Type | Class and Description |
|---|---|
static class |
Dot11MeshIdElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Dot11MeshIdElement.Builder |
getBuilder() |
byte[] |
getMeshId() |
byte[] |
getRawData() |
int |
hashCode() |
int |
length() |
static Dot11MeshIdElement |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String indent) |
getElementId, getLength, getLengthAsIntpublic static Dot11MeshIdElement 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 byte[] getMeshId()
public int length()
length in class Dot11InformationElementpublic byte[] getRawData()
getRawData in class Dot11InformationElementpublic Dot11MeshIdElement.Builder getBuilder()
public int hashCode()
hashCode in class Dot11InformationElementpublic boolean equals(java.lang.Object obj)
equals in class Dot11InformationElementpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
indent - indentCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.