Package org.pcap4j.packet
Interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
IllegalIpV6NeighborDiscoveryOption
,IpV6NeighborDiscoveryMtuOption
,IpV6NeighborDiscoveryPrefixInformationOption
,IpV6NeighborDiscoveryRedirectedHeaderOption
,IpV6NeighborDiscoverySourceLinkLayerAddressOption
,IpV6NeighborDiscoveryTargetLinkLayerAddressOption
,UnknownIpV6NeighborDiscoveryOption
- Enclosing class:
- IcmpV6CommonPacket
public static interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOption extends java.io.Serializable
The interface representing an IPv6 neighbor discovery option. If you usePropertiesBasedPacketFactory
, classes which implement this interface must implement the following method:public static IpV6NeighborDiscoveryOption newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
- Since:
- pcap4j 0.9.15
- Author:
- Kaito Yamada
-
-
Method Summary
Modifier and Type Method Description byte[]
getRawData()
IpV6NeighborDiscoveryOptionType
getType()
int
length()
-
-
-
Method Detail
-
getType
IpV6NeighborDiscoveryOptionType getType()
- Returns:
- type
-
length
int length()
- Returns:
- length
-
getRawData
byte[] getRawData()
- Returns:
- raw data
-
-