Class IpV6ExtOptionsPacket

java.lang.Object
org.pcap4j.packet.AbstractPacket
org.pcap4j.packet.IpV6ExtOptionsPacket
All Implemented Interfaces:
Serializable, Iterable<Packet>, Packet
Direct Known Subclasses:
IpV6ExtDestinationOptionsPacket, IpV6ExtHopByHopOptionsPacket

public abstract class IpV6ExtOptionsPacket extends AbstractPacket
Since:
pcap4j 0.9.10
See Also:
  • Field Details

  • Constructor Details

    • IpV6ExtOptionsPacket

      protected IpV6ExtOptionsPacket()
    • IpV6ExtOptionsPacket

      protected IpV6ExtOptionsPacket(byte[] rawData, int payloadOffset, int payloadLength, IpNumber number)
      Parameters:
      rawData - rawData
      payloadOffset - payloadOffset
      payloadLength - payloadLength
      number - number
    • IpV6ExtOptionsPacket

      protected IpV6ExtOptionsPacket(IpV6ExtOptionsPacket.Builder builder)
      Parameters:
      builder - builder
  • Method Details

    • getHeader

      public abstract IpV6ExtOptionsPacket.IpV6ExtOptionsHeader getHeader()
      Description copied from class: AbstractPacket
      Returns 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:
      getHeader in interface Packet
      Overrides:
      getHeader in class AbstractPacket
      Returns:
      the Header object representing this packet's header. May be null if the header doesn't exist
    • getPayload

      public Packet getPayload()
      Description copied from class: AbstractPacket
      Returns 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:
      getPayload in interface Packet
      Overrides:
      getPayload in class AbstractPacket
      Returns:
      the Packet object representing this packet's payload. May be null if the payload doesn't exist