org.jnetpcap.protocol.lan
Class IEEE802dot1q
java.lang.Object
org.jnetpcap.nio.JMemory
org.jnetpcap.nio.JBuffer
org.jnetpcap.packet.JHeader
org.jnetpcap.protocol.lan.IEEE802dot1q
- All Implemented Interfaces:
- JByteBuffer
@Header(length=4,
nicname="vlan")
public class IEEE802dot1q- extends JHeader
IEEE Vlan header definition
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
|
Field Summary |
static int |
ID
|
| Methods inherited from class org.jnetpcap.packet.JHeader |
addAnalysis, decode, decodeHeader, getAnalysis, getAnalysisIterable, getAnnotatedHeader, getDescription, getFields, getId, getLength, getName, getNicname, getOffset, getPacket, getParent, getState, getSubHeaders, getType, hasAnalysis, hasAnalysis, hasAnalysis, hasDescription, hasSubHeaders, peer, peer, setPacket, setSubHeaders, sizeof, toString, 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
IEEE802dot1q
public IEEE802dot1q()
priority
@Field(offset=0,
length=3,
format="%d")
public int priority()
cfi
@Field(offset=3,
length=1,
format="%x")
public int cfi()
id
@Field(offset=4,
length=12,
format="%x")
public int id()
typeDescription
@Dynamic(value=DESCRIPTION)
public java.lang.String typeDescription()
type
@Field(offset=16,
length=16,
format="%x")
public int type()