|
|||||||||
| 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.Rip
org.jnetpcap.protocol.network.Rip1
public class Rip1
Routing Information Protocol version 1 (RIP). This class provides access method for reading every field in RIP version 1 protocol. The routing table returned only defines accessor methods for reading version 1 fields.
Rip2| Nested Class Summary | |
|---|---|
static class |
Rip1.EntryV1
Rip1 routing table entry definition. |
| Nested classes/interfaces inherited from class org.jnetpcap.protocol.network.Rip |
|---|
Rip.Command |
| 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.protocol.network.Rip |
|---|
count |
| 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 | |
|---|---|
Rip1()
|
|
| Method Summary | |
|---|---|
protected void |
decodeHeader()
The routing table is the only thing that needs decoding. |
Rip1.EntryV1[] |
routingTable()
Gets the routing table. |
int |
routingTableLength()
Length of the routing table in bits. |
| Methods inherited from class org.jnetpcap.protocol.network.Rip |
|---|
bindToUdp, command, commandDescription, commandEnum, count, headerLength, 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 |
| Constructor Detail |
|---|
public Rip1()
| Method Detail |
|---|
protected void decodeHeader()
decodeRoutingTable() which only then
creates routing table entries.
decodeHeader in class Rip
@Field(offset=32,
format="%RIP")
public Rip1.EntryV1[] routingTable()
@Dynamic(value=LENGTH) public int routingTableLength()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||