Interface IpV6ExtOptionsPacket.IpV6Option

All Superinterfaces:
Serializable
All Known Implementing Classes:
IllegalIpV6Option, IpV6Pad1Option, IpV6PadNOption, UnknownIpV6Option
Enclosing class:
IpV6ExtOptionsPacket

public static interface IpV6ExtOptionsPacket.IpV6Option extends Serializable
The interface representing an IPv6 option. If you use
invalid reference
PropertiesBasedPacketFactory
, classes which implement this interface must implement the following method: public static IpV6Option newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
Since:
pcap4j 0.9.11
  • Method Details

    • getType

      IpV6OptionType getType()
      Returns:
      type
    • length

      int length()
      Returns:
      length
    • getRawData

      byte[] getRawData()
      Returns:
      raw data