public final class IpV4Rfc791SecurityOption extends Object implements IpV4Packet.IpV4Option
| Modifier and Type | Class and Description |
|---|---|
static class |
IpV4Rfc791SecurityOption.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
IpV4Rfc791SecurityOption.Builder |
getBuilder() |
IpV4SecurityOptionCompartments |
getCompartments() |
IpV4SecurityOptionHandlingRestrictions |
getHandlingRestrictions() |
byte |
getLength() |
int |
getLengthAsInt() |
byte[] |
getRawData() |
IpV4SecurityOptionSecurity |
getSecurity() |
IpV4SecurityOptionTransmissionControlCode |
getTcc() |
IpV4OptionType |
getType() |
int |
hashCode() |
int |
length() |
static IpV4Rfc791SecurityOption |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
public static IpV4Rfc791SecurityOption newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthIllegalRawDataException - if parsing the raw data fails.public IpV4OptionType getType()
getType in interface IpV4Packet.IpV4Optionpublic byte getLength()
public int getLengthAsInt()
public IpV4SecurityOptionSecurity getSecurity()
public IpV4SecurityOptionCompartments getCompartments()
public IpV4SecurityOptionHandlingRestrictions getHandlingRestrictions()
public IpV4SecurityOptionTransmissionControlCode getTcc()
public int length()
length in interface IpV4Packet.IpV4Optionpublic byte[] getRawData()
getRawData in interface IpV4Packet.IpV4Optionpublic IpV4Rfc791SecurityOption.Builder getBuilder()
Copyright © 2011–2016 Pcap4J.org. All rights reserved.