Interface IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
IllegalIpV6NeighborDiscoveryOption, IpV6NeighborDiscoveryMtuOption, IpV6NeighborDiscoveryPrefixInformationOption, IpV6NeighborDiscoveryRedirectedHeaderOption, IpV6NeighborDiscoverySourceLinkLayerAddressOption, IpV6NeighborDiscoveryTargetLinkLayerAddressOption, UnknownIpV6NeighborDiscoveryOption
- Enclosing class:
IcmpV6CommonPacket
The interface representing an IPv6 neighbor discovery option. If you use
, classes which implement this interface must implement the
following method:
invalid reference
PropertiesBasedPacketFactory
public static IpV6NeighborDiscoveryOption newInstance(byte[] rawData,
int offset, int length) throws IllegalRawDataException- Since:
- pcap4j 0.9.15
-
Method Details
-
getType
IpV6NeighborDiscoveryOptionType getType()- Returns:
- type
-
length
int length()- Returns:
- length
-
getRawData
byte[] getRawData()- Returns:
- raw data
-