public final class IpV6NeighborDiscoveryTargetLinkLayerAddressOption extends Object implements IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
| Modifier and Type | Class and Description |
|---|---|
static class |
IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder |
getBuilder() |
byte |
getLength() |
int |
getLengthAsInt() |
byte[] |
getLinkLayerAddress() |
MacAddress |
getLinkLayerAddressAsMacAddress() |
byte[] |
getRawData() |
IpV6NeighborDiscoveryOptionType |
getType() |
int |
hashCode() |
int |
length() |
static IpV6NeighborDiscoveryTargetLinkLayerAddressOption |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public static IpV6NeighborDiscoveryTargetLinkLayerAddressOption newInstance(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 IpV6NeighborDiscoveryOptionType getType()
getType in interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOptionpublic byte getLength()
public int getLengthAsInt()
public byte[] getLinkLayerAddress()
public MacAddress getLinkLayerAddressAsMacAddress()
public int length()
length in interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOptionpublic byte[] getRawData()
getRawData in interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOptionpublic IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder getBuilder()
Copyright © 2011–2016 Pcap4J.org. All rights reserved.