public class LLC extends BasePacket
Modifier and Type | Field and Description |
---|---|
static byte |
LLC_HEADER_LENGTH |
parent, payload
Constructor and Description |
---|
LLC() |
Modifier and Type | Method and Description |
---|---|
static Deserializer<LLC> |
deserializer()
Deserializer function for LLC packets.
|
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) |
java.lang.String |
toString() |
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayload
public static final byte LLC_HEADER_LENGTH
public 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
public static Deserializer<LLC> deserializer()
public java.lang.String toString()
toString
in class java.lang.Object