java.lang.Object
org.pcap4j.packet.AbstractPacket
org.pcap4j.packet.IpV6ExtOptionsPacket
- All Implemented Interfaces:
Serializable,Iterable<Packet>,Packet
- Direct Known Subclasses:
IpV6ExtDestinationOptionsPacket,IpV6ExtHopByHopOptionsPacket
- Since:
- pcap4j 0.9.10
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic interfaceThe interface representing an IPv6 option.Nested classes/interfaces inherited from class org.pcap4j.packet.AbstractPacket
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeaderNested classes/interfaces inherited from interface org.pcap4j.packet.Packet
Packet.Header -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedIpV6ExtOptionsPacket(byte[] rawData, int payloadOffset, int payloadLength, IpNumber number) protected -
Method Summary
Modifier and TypeMethodDescriptionReturns the Header object representing this packet's header.Returns the Packet object representing this packet's payload.Methods inherited from class org.pcap4j.packet.AbstractPacket
buildHexString, buildRawData, buildString, calcHashCode, calcLength, contains, equals, get, getBuilder, getOuterOf, getRawData, hashCode, iterator, length, toHexString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
payload
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
IpV6ExtOptionsPacket
protected IpV6ExtOptionsPacket() -
IpV6ExtOptionsPacket
protected IpV6ExtOptionsPacket(byte[] rawData, int payloadOffset, int payloadLength, IpNumber number) - Parameters:
rawData- rawDatapayloadOffset- payloadOffsetpayloadLength- payloadLengthnumber- number
-
IpV6ExtOptionsPacket
- Parameters:
builder- builder
-
-
Method Details
-
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- Overrides:
getHeaderin classAbstractPacket- Returns:
- the Header object representing this packet's header. May be null if the header doesn't exist
-
getPayload
Description copied from class:AbstractPacketReturns the Packet object representing this packet's payload. This subclass have to override this method if the packet represented by the subclass has a payload.- Specified by:
getPayloadin interfacePacket- Overrides:
getPayloadin classAbstractPacket- Returns:
- the Packet object representing this packet's payload. May be null if the payload doesn't exist
-