- All Superinterfaces:
Serializable
- All Known Implementing Classes:
IllegalIpV4Option,IpV4EndOfOptionList,IpV4InternetTimestampOption,IpV4LooseSourceRouteOption,IpV4NoOperationOption,IpV4RecordRouteOption,IpV4Rfc791SecurityOption,IpV4RouteOption,IpV4StreamIdOption,IpV4StrictSourceRouteOption,UnknownIpV4Option
- Enclosing class:
IpV4Packet
The interface representing an IPv4 option. If you use
, classes which implement this interface must implement the
following method:
invalid reference
PropertiesBasedPacketFactory
public static IpV4Option newInstance(byte[] rawData, int offset, int
length) throws IllegalRawDataException- Since:
- pcap4j 0.9.11
-
Method Summary
-
Method Details
-
getType
IpV4OptionType getType()- Returns:
- type
-
length
int length()- Returns:
- length
-
getRawData
byte[] getRawData()- Returns:
- raw data
-