Class IpV6ExtDestinationOptionsPacket
java.lang.Object
org.pcap4j.packet.AbstractPacket
org.pcap4j.packet.IpV6ExtOptionsPacket
org.pcap4j.packet.IpV6ExtDestinationOptionsPacket
- All Implemented Interfaces:
Serializable, Iterable<Packet>, Packet
- Since:
- pcap4j 0.9.10
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classNested classes/interfaces inherited from class IpV6ExtOptionsPacket
IpV6ExtOptionsPacket.IpV6ExtOptionsHeader, IpV6ExtOptionsPacket.IpV6OptionNested classes/interfaces inherited from class AbstractPacket
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeaderNested classes/interfaces inherited from interface Packet
Packet.Header -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIpV6ExtDestinationOptionsPacket(byte[] rawData, int payloadOffset, int payloadLength, IpV6ExtDestinationOptionsPacket.IpV6ExtDestinationOptionsHeader optHeader) privateprivateIpV6ExtDestinationOptionsPacket(IpV6ExtDestinationOptionsPacket.IpV6ExtDestinationOptionsHeader optHeader) -
Method Summary
Modifier and TypeMethodDescriptionReturns a new Builder object populated with this object's fields' values.Returns the Header object representing this packet's header.newPacket(byte[] rawData, int offset, int length) A static factory method.Methods inherited from class IpV6ExtOptionsPacket
getPayloadMethods inherited from class AbstractPacket
buildHexString, buildRawData, buildString, calcHashCode, calcLength, contains, equals, get, getOuterOf, getRawData, hashCode, iterator, length, toHexString, toStringMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
header
-
-
Constructor Details
-
IpV6ExtDestinationOptionsPacket
private IpV6ExtDestinationOptionsPacket(IpV6ExtDestinationOptionsPacket.IpV6ExtDestinationOptionsHeader optHeader) -
IpV6ExtDestinationOptionsPacket
private IpV6ExtDestinationOptionsPacket(byte[] rawData, int payloadOffset, int payloadLength, IpV6ExtDestinationOptionsPacket.IpV6ExtDestinationOptionsHeader optHeader) -
IpV6ExtDestinationOptionsPacket
-
-
Method Details
-
newPacket
public static IpV6ExtDestinationOptionsPacket newPacket(byte[] rawData, int offset, int length) throws IllegalRawDataException 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 IpV6ExtDestinationOptionsPacket object.
- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
getHeader
Description copied from class:AbstractPacketReturns the Header object representing this packet's header. This subclass have to override this method if the packet represented by the subclass has a header.- Specified by:
getHeaderin interfacePacket- Specified by:
getHeaderin classIpV6ExtOptionsPacket- Returns:
- the Header object representing this packet's header. May be null if the header doesn't exist
-
getBuilder
Description copied from interface:PacketReturns a new Builder object populated with this object's fields' values.- Specified by:
getBuilderin interfacePacket- Specified by:
getBuilderin classAbstractPacket- Returns:
- a new Builder object populated with this object's fields values
-