| 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).
|
| org.onlab.packet.pim |
Utilities for managing PIM packets.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Deserializer<U extends IPacket>
Function to deserialize a packet from a byte-based input stream.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ARP
Representation of an ARP Packet.
|
class |
BasePacket
Base packet class.
|
class |
Data |
class |
DHCP
Representation of an DHCP Packet.
|
class |
EAP
EAP (Extensible Authentication Protocol) packet.
|
class |
EAPOL
EAPOL (Extensible Authentication Protocol over LAN) header.
|
class |
Ethernet
Ethernet Packet.
|
class |
ICMP
Implements ICMP packet format.
|
class |
ICMP6
Implements ICMPv6 packet format.
|
class |
IGMP
Implements IGMP control packet format.
|
class |
IPv4
Implements IPv4 packet format.
|
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
Representation of an LLDP Packet.
|
class |
MPLS
Representation of an MPLS Packet.
|
class |
ONOSLLDP
ONOS LLDP containing organizational TLV for ONOS device discovery.
|
class |
PIM
Implements PIM control packet format.
|
class |
RADIUS
RADIUS packet.
|
class |
TCP
Implements TCP packet format.
|
class |
UDP
Representation of a UDP packet.
|
| Modifier and Type | Field and Description |
|---|---|
protected IPacket |
BasePacket.parent |
protected IPacket |
BasePacket.payload |
| Modifier and Type | Field and Description |
|---|---|
static Map<Integer,Deserializer<? extends IPacket>> |
UDP.PORT_DESERIALIZER_MAP |
static Map<Byte,Deserializer<? extends IPacket>> |
PIM.PROTOCOL_DESERIALIZER_MAP |
static Map<Byte,Deserializer<? extends IPacket>> |
IPv6.PROTOCOL_DESERIALIZER_MAP |
static Map<Byte,Deserializer<? extends IPacket>> |
IPv4.PROTOCOL_DESERIALIZER_MAP |
static Map<Byte,Deserializer<? extends IPacket>> |
IGMP.PROTOCOL_DESERIALIZER_MAP |
static Map<Byte,Deserializer<? extends IPacket>> |
ICMP6.TYPE_DESERIALIZER_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 |
RADIUS.deserialize(byte[] data,
int offset,
int length) |
IPacket |
PIM.deserialize(byte[] data,
int offset,
int length)
Deserialize the PIM packet.
|
IPacket |
MPLS.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)
Deprecated.
in Cardinal Release
|
IPacket |
IGMP.deserialize(byte[] data,
int offset,
int length)
Deserialize an IGMP message.
|
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 |
EAPOL.deserialize(byte[] data,
int offset,
int length) |
IPacket |
EAP.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()
Obtain the parent packet.
|
IPacket |
BasePacket.getParent() |
IPacket |
IPacket.getPayload()
Obtain the packet payload.
|
IPacket |
BasePacket.getPayload() |
IPacket |
IPacket.setParent(IPacket packet)
Configure a new parent packet.
|
IPacket |
BasePacket.setParent(IPacket parent) |
IPacket |
IPacket.setPayload(IPacket packet)
Assign the packet payload.
|
IPacket |
BasePacket.setPayload(IPacket payload) |
| Modifier and Type | Method and Description |
|---|---|
IPacket |
IPacket.setParent(IPacket packet)
Configure a new parent packet.
|
IPacket |
BasePacket.setParent(IPacket parent) |
IPacket |
IPacket.setPayload(IPacket packet)
Assign the packet payload.
|
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) |
| Modifier and Type | Class and Description |
|---|---|
class |
PIMHello |
class |
PIMJoinPrune |
| Modifier and Type | Method and Description |
|---|---|
IPacket |
PIMJoinPrune.deserialize(byte[] data,
int offset,
int length) |
IPacket |
PIMHello.deserialize(byte[] data,
int offset,
int length)
XXX: This is deprecated, DO NOT USE, use the deserializer() function instead.
|
Copyright © 2016. All rights reserved.