Class IllegalIpV6NeighborDiscoveryOption
java.lang.Object
org.pcap4j.packet.IllegalIpV6NeighborDiscoveryOption
- All Implemented Interfaces:
Serializable, IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
public final class IllegalIpV6NeighborDiscoveryOption
extends Object
implements IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
- Since:
- pcap4j 0.9.15
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private static final longprivate final IpV6NeighborDiscoveryOptionType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIllegalIpV6NeighborDiscoveryOption(byte[] rawData, int offset, int length) private -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]getType()inthashCode()intlength()newInstance(byte[] rawData, int offset, int length) A static factory method.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
type
-
rawData
private final byte[] rawData
-
-
Constructor Details
-
IllegalIpV6NeighborDiscoveryOption
private IllegalIpV6NeighborDiscoveryOption(byte[] rawData, int offset, int length) -
IllegalIpV6NeighborDiscoveryOption
-
-
Method Details
-
newInstance
public static IllegalIpV6NeighborDiscoveryOption newInstance(byte[] rawData, int offset, int length) A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.- Parameters:
rawData- rawDataoffset- offsetlength- length- Returns:
- a new IllegalIpV6NeighborDiscoveryOption object.
-
getType
- Specified by:
getTypein interfaceIcmpV6CommonPacket.IpV6NeighborDiscoveryOption- Returns:
- type
-
length
public int length()- Specified by:
lengthin interfaceIcmpV6CommonPacket.IpV6NeighborDiscoveryOption- Returns:
- length
-
getRawData
public byte[] getRawData()- Specified by:
getRawDatain interfaceIcmpV6CommonPacket.IpV6NeighborDiscoveryOption- Returns:
- raw data
-
getBuilder
- Returns:
- a new Builder object populated with this object's fields.
-
toString
-
equals
-
hashCode
-