org.jnetpcap.protocol.lan
Class IEEE802dot2
java.lang.Object
org.jnetpcap.nio.JMemory
org.jnetpcap.nio.JBuffer
org.jnetpcap.packet.JHeader
org.jnetpcap.protocol.lan.IEEE802dot2
- All Implemented Interfaces:
- JByteBuffer
@Header(nicname="llc")
public class IEEE802dot2
- extends JHeader
IEEE LLC2 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
IEEE802dot2
public IEEE802dot2()
headerLength
@HeaderLength
public static int headerLength(JBuffer buffer,
int offset)
control
@Field(offset=0,
format="%x")
public int control()
controlLength
@Dynamic(value=LENGTH)
public int controlLength()
dsap
@Field(offset=0,
length=8,
format="%x")
public int dsap()
ssap
@Field(offset=8,
length=8,
format="%x")
public int ssap()