public final class LlcControlInformation extends Object implements LlcPacket.LlcControl
0 1 2 3 4 5 6 7
+-----+-----+-----+-----+-----+-----+-----+-----+
| receive sequence number | P/F |
+-----+-----+-----+-----+-----+-----+-----+-----+
| send sequence number | 0 |
+-----+-----+-----+-----+-----+-----+-----+-----+
Modifier and Type | Class and Description |
---|---|
static class |
LlcControlInformation.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
LlcControlInformation.Builder |
getBuilder() |
boolean |
getPfBit() |
byte[] |
getRawData() |
byte |
getReceiveSequenceNumber() |
int |
getReceiveSequenceNumberAsInt() |
byte |
getSendSequenceNumber() |
int |
getSendSequenceNumberAsInt() |
int |
hashCode() |
int |
length() |
static LlcControlInformation |
newInstance(short value) |
String |
toString() |
public static LlcControlInformation newInstance(short value) throws IllegalRawDataException
value
- valueIllegalRawDataException
- if parsing the value fails.public byte getReceiveSequenceNumber()
public int getReceiveSequenceNumberAsInt()
public boolean getPfBit()
public byte getSendSequenceNumber()
public int getSendSequenceNumberAsInt()
public int length()
length
in interface LlcPacket.LlcControl
public byte[] getRawData()
getRawData
in interface LlcPacket.LlcControl
public LlcControlInformation.Builder getBuilder()
Copyright © 2011–2019 Pcap4J.org. All rights reserved.