Module org.pcap4j.core
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.SerializableThe 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getRawData()IpV6NeighborDiscoveryOptionTypegetType()intlength()
-
-
-
Method Detail
-
getType
IpV6NeighborDiscoveryOptionType getType()
- Returns:
- type
-
length
int length()
- Returns:
- length
-
getRawData
byte[] getRawData()
- Returns:
- raw data
-
-