org.jnetpcap.protocol.network
Class Ip4.Security

java.lang.Object
  extended by org.jnetpcap.nio.JMemory
      extended by org.jnetpcap.nio.JBuffer
          extended by org.jnetpcap.packet.JHeader
              extended by org.jnetpcap.packet.JSubHeader<Ip4>
                  extended by org.jnetpcap.protocol.network.Ip4.IpOption
                      extended by org.jnetpcap.protocol.network.Ip4.Security
All Implemented Interfaces:
JByteBuffer, JPayloadAccessor
Enclosing class:
Ip4

@Header(id=2)
public static class Ip4.Security
extends Ip4.IpOption

Ip4 optional Security header.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Nested Class Summary
static class Ip4.Security.SecurityType
          A table of security algorithm types
 
Nested classes/interfaces inherited from class org.jnetpcap.protocol.network.Ip4.IpOption
Ip4.IpOption.OptionCode
 
Nested classes/interfaces inherited from class org.jnetpcap.packet.JHeader
JHeader.State
 
Nested classes/interfaces inherited from class org.jnetpcap.nio.JMemory
JMemory.Type
 
Field Summary
 
Fields inherited from class org.jnetpcap.packet.JHeader
annotatedHeader, EMPTY_HEADER_ARRAY, isSubHeader, packet, state
 
Fields inherited from class org.jnetpcap.nio.JMemory
JNETPCAP_LIBRARY_NAME
 
Constructor Summary
Ip4.Security()
           
 
Method Summary
 int compartments()
           
 void compartments(int value)
           
 int control()
           
 void control(int value)
           
 int handling()
           
 int length()
           
 void length(int value)
           
 int security()
           
 void security(int value)
           
 void security(Ip4.Security.SecurityType value)
           
 Ip4.Security.SecurityType securityEnum()
           
 
Methods inherited from class org.jnetpcap.protocol.network.Ip4.IpOption
code, code, codeEnum, headerLength, optionCode
 
Methods inherited from class org.jnetpcap.packet.JSubHeader
getLength, getOffset, getParent, setLength, setOffset, setParent
 
Methods inherited from class org.jnetpcap.packet.JHeader
addAnalysis, decode, decodeHeader, getAnalysis, getAnalysisIterable, getAnnotatedHeader, getDescription, getFields, getId, getName, getNicname, getPacket, getPayload, getState, getSubHeaders, getType, hasAnalysis, hasAnalysis, hasAnalysis, hasDescription, hasSubHeaders, peer, peer, peerPayloadTo, setPacket, setSubHeaders, sizeof, toString, transferPayloadTo, transferPayloadTo, transferPayloadTo, validateHeader
 
Methods inherited from class org.jnetpcap.nio.JBuffer
findUTF8String, getByte, getByteArray, getByteArray, getDouble, getFloat, getInt, getLong, getShort, getUByte, getUInt, getUShort, getUTF8Char, getUTF8String, getUTF8String, getUTF8String, getUTF8String, isReadonly, order, order, peer, peer, peer, peer, setByte, setByteArray, setByteBuffer, setDouble, setFloat, setInt, setLong, setShort, setUByte, setUInt, setUShort, transferFrom, transferFrom, transferFrom, transferTo, transferTo, transferTo
 
Methods inherited from class org.jnetpcap.nio.JMemory
check, cleanup, finalize, isInitialized, isJMemoryBasedOwner, isOwner, peer, setSize, size, toDebugString, toHexdump, toHexdump, totalActiveAllocated, totalAllocateCalls, totalAllocated, totalAllocatedSegments0To255Bytes, totalAllocatedSegments256OrAbove, totalDeAllocateCalls, totalDeAllocated, transferFrom, transferFrom, transferFromDirect, transferOwnership, transferTo, transferTo, transferTo, transferTo, transferTo
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jnetpcap.nio.JByteBuffer
size
 

Constructor Detail

Ip4.Security

public Ip4.Security()
Method Detail

compartments

@Field(offset=32,
       length=16)
public int compartments()

compartments

@FieldSetter
public void compartments(int value)

control

@Field(offset=64,
       length=24)
public int control()

control

@FieldSetter
public void control(int value)

handling

@Field(offset=48,
       length=16)
public int handling()

length

@Field(offset=8,
       length=8)
public int length()

length

@FieldSetter
public void length(int value)

security

@Field(offset=16,
       length=16)
public int security()

security

@FieldSetter
public void security(int value)

security

public void security(Ip4.Security.SecurityType value)

securityEnum

public Ip4.Security.SecurityType securityEnum()