public final class IcmpV6RouterAdvertisementPacket extends AbstractPacket
Modifier and Type | Class and Description |
---|---|
static class |
IcmpV6RouterAdvertisementPacket.Builder |
static class |
IcmpV6RouterAdvertisementPacket.IcmpV6RouterAdvertisementHeader |
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeader
Packet.Header
Modifier and Type | Method and Description |
---|---|
IcmpV6RouterAdvertisementPacket.Builder |
getBuilder()
Returns a new Builder object populated with this object's fields' values.
|
IcmpV6RouterAdvertisementPacket.IcmpV6RouterAdvertisementHeader |
getHeader()
Returns the Header object representing this packet's header.
|
static IcmpV6RouterAdvertisementPacket |
newPacket(byte[] rawData,
int offset,
int length)
A static factory method.
|
buildHexString, buildRawData, buildString, calcHashCode, calcLength, contains, equals, get, getOuterOf, getPayload, getRawData, hashCode, iterator, length, toHexString, toString
public static IcmpV6RouterAdvertisementPacket 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 IcmpV6RouterAdvertisementPacket.IcmpV6RouterAdvertisementHeader getHeader()
AbstractPacket
getHeader
in interface Packet
getHeader
in class AbstractPacket
public IcmpV6RouterAdvertisementPacket.Builder getBuilder()
Packet
getBuilder
in interface Packet
getBuilder
in class AbstractPacket
Copyright © 2011–2016 Pcap4J.org. All rights reserved.