public class LLC extends BasePacket
| Modifier and Type | Field and Description |
|---|---|
private byte |
ctrl |
private byte |
dsap |
private byte |
ssap |
parent, payload| Constructor and Description |
|---|
LLC() |
| Modifier and Type | Method and Description |
|---|---|
IPacket |
deserialize(byte[] data,
int offset,
int length)
Deserializes this packet layer and all possible payloads
|
byte |
getCtrl() |
byte |
getDsap() |
byte |
getSsap() |
byte[] |
serialize()
Sets all payloads parent packet if applicable, then serializes this
packet and all payloads
|
void |
setCtrl(byte ctrl) |
void |
setDsap(byte dsap) |
void |
setSsap(byte ssap) |
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayloadpublic byte getDsap()
public void setDsap(byte dsap)
public byte getSsap()
public void setSsap(byte ssap)
public byte getCtrl()
public void setCtrl(byte ctrl)
public byte[] serialize()
IPacket