Package org.pcap4j.packet
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 usePropertiesBasedPacketFactory
, 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 Summary
Modifier and Type Method Description byte[]
getRawData()
IpV6OptionType
getType()
int
length()
-
-
-
Method Detail
-
getType
IpV6OptionType getType()
- Returns:
- type
-
length
int length()
- Returns:
- length
-
getRawData
byte[] getRawData()
- Returns:
- raw data
-
-