org.jnetpcap.protocol.network
Class Ip6
java.lang.Object
org.jnetpcap.nio.JMemory
org.jnetpcap.nio.JBuffer
org.jnetpcap.packet.JHeader
org.jnetpcap.protocol.network.Ip6
- All Implemented Interfaces:
- JByteBuffer, JPayloadAccessor
@Header(length=40)
public class Ip6
- extends JHeader
IP version 6 header definition
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
|
Field Summary |
static int |
ID
|
|
Constructor Summary |
Ip6()
|
| Methods inherited from class org.jnetpcap.packet.JHeader |
addAnalysis, decode, decodeHeader, getAnalysis, getAnalysisIterable, getAnnotatedHeader, getDescription, getFields, getId, getLength, getName, getNicname, getOffset, getPacket, getParent, 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 |
ID
public static final int ID
- See Also:
- Constant Field Values
Ip6
public Ip6()
version
@Field(offset=0,
length=4)
public int version()
trafficClass
@Field(offset=4,
length=8)
public int trafficClass()
flowLabel
@Field(offset=12,
length=20)
public int flowLabel()
length
@Field(offset=32,
length=16)
public int length()
next
@Field(offset=48,
length=8)
@FlowKey(index=1)
public int next()
hopLimit
@Field(offset=56,
length=8)
public int hopLimit()
source
@Field(offset=64,
length=128,
format="#ip6#")
@FlowKey(index=0)
public byte[] source()
sourceToByteArray
public byte[] sourceToByteArray(byte[] address)
destination
@Field(offset=64,
length=128,
format="#ip6#")
@FlowKey(index=0)
public byte[] destination()
destinationToByteArray
public byte[] destinationToByteArray(byte[] address)