public final class IllegalIpV4Option extends Object implements IpV4Packet.IpV4Option
Modifier and Type | Class and Description |
---|---|
static class |
IllegalIpV4Option.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IllegalIpV4Option.Builder |
getBuilder() |
byte[] |
getRawData() |
IpV4OptionType |
getType() |
int |
hashCode() |
int |
length() |
static IllegalIpV4Option |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public static IllegalIpV4Option newInstance(byte[] rawData, int offset, int length)
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthpublic IpV4OptionType getType()
getType
in interface IpV4Packet.IpV4Option
public int length()
length
in interface IpV4Packet.IpV4Option
public byte[] getRawData()
getRawData
in interface IpV4Packet.IpV4Option
public IllegalIpV4Option.Builder getBuilder()
Copyright © 2011–2016 Pcap4J.org. All rights reserved.