| Package | Description |
|---|---|
| org.onlab.packet |
Utilities for decoding and encoding packets of various network protocols
and encapsulations.
|
| org.onlab.packet.ipv6 |
Utilities for decoding and encoding IPv6 extension headers.
|
| org.onlab.packet.ndp |
Utilities for decoding and encoding packets of Neighbor Discovery Protocol
for IPv6 (RFC 4861).
|
| Modifier and Type | Class and Description |
|---|---|
class |
ARP |
class |
BasePacket |
class |
Data |
class |
DHCP |
class |
Ethernet |
class |
ICMP
Implements ICMP packet format.
|
class |
ICMP6
Implements ICMPv6 packet format.
|
class |
IPv4 |
class |
IPv6
Implements IPv6 packet format.
|
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>> |
IPv6.PROTOCOL_CLASS_MAP |
static Map<Byte,Class<? extends IPacket>> |
IPv4.PROTOCOL_CLASS_MAP |
static Map<Byte,Class<? extends IPacket>> |
ICMP6.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 |
IPv6.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 |
ICMP6.deserialize(byte[] data,
int offset,
int length) |
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) |
| Modifier and Type | Class and Description |
|---|---|
class |
Authentication
Implements IPv6 authentication extension header format.
|
class |
BaseOptions
Base class for hop-by-hop options and destination options.
|
class |
DestinationOptions
Implements IPv6 Destination Options extension header format.
|
class |
EncapSecurityPayload
Implements IPv6 Encapsulating Security Payload (ESP) extension header format.
|
class |
Fragment
Implements IPv6 fragment extension header format.
|
class |
HopByHopOptions
Implements IPv6 Hop-by-hop Options extension header format.
|
class |
Routing
Implements IPv6 routing extension header format.
|
| Modifier and Type | Method and Description |
|---|---|
IPacket |
Routing.deserialize(byte[] data,
int offset,
int length) |
IPacket |
Fragment.deserialize(byte[] data,
int offset,
int length) |
IPacket |
EncapSecurityPayload.deserialize(byte[] data,
int offset,
int length) |
IPacket |
BaseOptions.deserialize(byte[] data,
int offset,
int length) |
IPacket |
Authentication.deserialize(byte[] data,
int offset,
int length) |
| Modifier and Type | Class and Description |
|---|---|
class |
NeighborAdvertisement
Implements ICMPv6 Neighbor Advertisement packet format (RFC 4861).
|
class |
NeighborDiscoveryOptions
Neighbor Discovery Protocol packet options.
|
class |
NeighborSolicitation
Implements ICMPv6 Neighbor Solicitation packet format.
|
class |
Redirect
Implements ICMPv6 Redirect packet format.
|
class |
RouterAdvertisement
Implements ICMPv6 Router Advertisement packet format.
|
class |
RouterSolicitation
Implements ICMPv6 Router Solicitation packet format.
|
| Modifier and Type | Method and Description |
|---|---|
IPacket |
RouterSolicitation.deserialize(byte[] data,
int offset,
int length) |
IPacket |
RouterAdvertisement.deserialize(byte[] data,
int offset,
int length) |
IPacket |
Redirect.deserialize(byte[] data,
int offset,
int length) |
IPacket |
NeighborSolicitation.deserialize(byte[] data,
int offset,
int length) |
IPacket |
NeighborDiscoveryOptions.deserialize(byte[] data,
int offset,
int length) |
IPacket |
NeighborAdvertisement.deserialize(byte[] data,
int offset,
int length) |
Copyright © 2015. All rights reserved.