|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetpcap.nio.JMemory
org.jnetpcap.nio.JBuffer
org.jnetpcap.packet.JHeader
org.jnetpcap.protocol.network.Ip6
@Header(length=40) public class Ip6
IP version 6 header definition.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
static int |
ID
The Constant ID. |
| Fields inherited from class org.jnetpcap.packet.JHeader |
|---|
annotatedHeader, BYTE, EMPTY_HEADER_ARRAY, isSubHeader, packet, state |
| Fields inherited from class org.jnetpcap.nio.JMemory |
|---|
JNETPCAP_LIBRARY_NAME, MAX_DIRECT_MEMORY_DEFAULT, POINTER |
| Constructor Summary | |
|---|---|
Ip6()
|
|
| Method Summary | |
|---|---|
byte[] |
destination()
Destination. |
byte[] |
destinationToByteArray(byte[] address)
Destination to byte array. |
int |
flowLabel()
Flow label. |
int |
hopLimit()
Hop limit. |
int |
length()
Length. |
int |
next()
Next. |
byte[] |
source()
Source. |
byte[] |
sourceToByteArray(byte[] address)
Source to byte array. |
int |
trafficClass()
Traffic class. |
int |
version()
Version. |
| Methods inherited from class org.jnetpcap.nio.JBuffer |
|---|
findUTF8String, getByte, getByteArray, 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, setShort0, setUByte, setUInt, setUShort, transferFrom, transferFrom, transferFrom, transferTo, transferTo, transferTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ID
| Constructor Detail |
|---|
public Ip6()
| Method Detail |
|---|
@Field(offset=0,
length=4)
public int version()
@Field(offset=4,
length=8)
public int trafficClass()
@Field(offset=12,
length=20)
public int flowLabel()
@Field(offset=32,
length=16)
public int length()
@Field(offset=48,
length=8)
@FlowKey(index=1)
public int next()
@Field(offset=56,
length=8)
public int hopLimit()
@Field(offset=64,
length=128,
format="#ip6#")
@FlowKey(index=0)
public byte[] source()
public byte[] sourceToByteArray(byte[] address)
address - the address
@Field(offset=64,
length=128,
format="#ip6#")
@FlowKey(index=0)
public byte[] destination()
public byte[] destinationToByteArray(byte[] address)
address - the address
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||