Interface IpV6ExtOptionsPacket.IpV6Option

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    IllegalIpV6Option, IpV6Pad1Option, IpV6PadNOption, UnknownIpV6Option
    Enclosing class:
    IpV6ExtOptionsPacket

    public static interface IpV6ExtOptionsPacket.IpV6Option
    extends java.io.Serializable
    The interface representing an IPv6 option. If you use 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
    Author:
    Kaito Yamada
    • Method Detail

      • length

        int length()
        Returns:
        length
      • getRawData

        byte[] getRawData()
        Returns:
        raw data