| Package | Description |
|---|---|
| org.onlab.packet |
Utilities for decoding and encoding packets of various network protocols
and encapsulations.
|
| org.onlab.packet.pim |
Utilities for managing PIM packets.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PacketUtils.checkBufferLength(int byteLength,
int offset,
int length)
Check the length of the input buffer is appropriate given the offset and
length parameters.
|
static void |
PacketUtils.checkHeaderLength(int givenLength,
int requiredLength)
Check that there are enough bytes in the buffer to read some number of
bytes that we need to read a full header.
|
static void |
PacketUtils.checkInput(byte[] data,
int offset,
int length,
int requiredLength)
Check the input parameters are sane and there's enough bytes to read
the required length.
|
U |
Deserializer.deserialize(byte[] data,
int offset,
int length)
Deserialize a packet object from a byte array.
|
LLDPTLV |
LLDPTLV.deserialize(ByteBuffer bb) |
LLDPTLV |
LLDPOrganizationalTLV.deserialize(ByteBuffer bb) |
IGMPGroup |
IGMPQuery.deserialize(ByteBuffer bb)
Deserialize the IGMP Query group structure.
|
IGMPGroup |
IGMPMembership.deserialize(ByteBuffer bb)
Deserialize the IGMP Membership report packet.
|
abstract IGMPGroup |
IGMPGroup.deserialize(ByteBuffer bb)
Deserialize an IGMPQuery or IGMPMembership message.
|
| Modifier and Type | Method and Description |
|---|---|
PIMAddrSource |
PIMAddrSource.deserialize(byte[] data,
int offset,
int length) |
static PIMHelloOption |
PIMHelloOption.deserialize(ByteBuffer bb) |
PIMAddrUnicast |
PIMAddrUnicast.deserialize(ByteBuffer bb) |
PIMAddrSource |
PIMAddrSource.deserialize(ByteBuffer bb) |
PIMAddrGroup |
PIMAddrGroup.deserialize(ByteBuffer bb)
Deserialze from a ByteBuffer.
|
Copyright © 2016. All rights reserved.