| Package | Description |
|---|---|
| org.onlab.packet |
Utilities for decoding and encoding packets of various network protocols
and encapsulations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ARP |
class |
BasePacket |
class |
Data |
class |
DHCP |
class |
Ethernet |
class |
ICMP
Implements ICMP packet format.
|
class |
IPv4 |
class |
LLC
This class represents an Link Local Control header that is used in Ethernet
802.3.
|
class |
LLDP |
class |
ONLabLddp
Deprecated.
|
class |
ONOSLLDP
ONOS LLDP containing organizational TLV for ONOS device dicovery.
|
class |
TCP |
class |
UDP |
| Modifier and Type | Field and Description |
|---|---|
protected IPacket |
BasePacket.parent |
protected IPacket |
BasePacket.payload |
| Modifier and Type | Field and Description |
|---|---|
static Map<Short,Class<? extends IPacket>> |
UDP.DECODE_MAP |
static Map<Short,Class<? extends IPacket>> |
Ethernet.ETHER_TYPE_CLASS_MAP |
static Map<Byte,Class<? extends IPacket>> |
IPv4.PROTOCOL_CLASS_MAP |
| Modifier and Type | Method and Description |
|---|---|
IPacket |
UDP.deserialize(byte[] data,
int offset,
int length) |
IPacket |
TCP.deserialize(byte[] data,
int offset,
int length) |
IPacket |
LLDP.deserialize(byte[] data,
int offset,
int length) |
IPacket |
LLC.deserialize(byte[] data,
int offset,
int length) |
IPacket |
IPv4.deserialize(byte[] data,
int offset,
int length) |
IPacket |
IPacket.deserialize(byte[] data,
int offset,
int length)
Deserializes this packet layer and all possible payloads.
|
IPacket |
ICMP.deserialize(byte[] data,
int offset,
int length) |
IPacket |
Ethernet.deserialize(byte[] data,
int offset,
int length) |
IPacket |
DHCP.deserialize(byte[] data,
int offset,
int length) |
IPacket |
Data.deserialize(byte[] data,
int offset,
int length) |
IPacket |
ARP.deserialize(byte[] data,
int offset,
int length) |
IPacket |
IPacket.getParent() |
IPacket |
BasePacket.getParent() |
IPacket |
IPacket.getPayload() |
IPacket |
BasePacket.getPayload() |
IPacket |
IPacket.setParent(IPacket packet) |
IPacket |
BasePacket.setParent(IPacket parent) |
IPacket |
IPacket.setPayload(IPacket packet) |
IPacket |
BasePacket.setPayload(IPacket payload) |
| Modifier and Type | Method and Description |
|---|---|
IPacket |
IPacket.setParent(IPacket packet) |
IPacket |
BasePacket.setParent(IPacket parent) |
IPacket |
IPacket.setPayload(IPacket packet) |
IPacket |
BasePacket.setPayload(IPacket payload) |
Copyright © 2015. All rights reserved.