public final class IpV6ExtRoutingPacket extends AbstractPacket
Modifier and Type | Class and Description |
---|---|
static class |
IpV6ExtRoutingPacket.Builder |
static class |
IpV6ExtRoutingPacket.IpV6ExtRoutingHeader |
static interface |
IpV6ExtRoutingPacket.IpV6RoutingData
The interface representing an IPv6 routing data.
|
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeader
Packet.Header
Modifier and Type | Method and Description |
---|---|
IpV6ExtRoutingPacket.Builder |
getBuilder()
Returns a new Builder object populated with this object's fields' values.
|
IpV6ExtRoutingPacket.IpV6ExtRoutingHeader |
getHeader()
Returns the Header object representing this packet's header.
|
Packet |
getPayload()
Returns the Packet object representing this packet's payload.
|
static IpV6ExtRoutingPacket |
newPacket(byte[] rawData,
int offset,
int length)
A static factory method.
|
buildHexString, buildRawData, buildString, calcHashCode, calcLength, contains, equals, get, getOuterOf, getRawData, hashCode, iterator, length, toHexString, toString
public static IpV6ExtRoutingPacket newPacket(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthIllegalRawDataException
- if parsing the raw data fails.public IpV6ExtRoutingPacket.IpV6ExtRoutingHeader getHeader()
AbstractPacket
getHeader
in interface Packet
getHeader
in class AbstractPacket
public Packet getPayload()
AbstractPacket
getPayload
in interface Packet
getPayload
in class AbstractPacket
public IpV6ExtRoutingPacket.Builder getBuilder()
Packet
getBuilder
in interface Packet
getBuilder
in class AbstractPacket
Copyright © 2011–2016 Pcap4J.org. All rights reserved.