Package org.onlab.packet.ndp
Class NeighborDiscoveryOptions.Option
- java.lang.Object
-
- org.onlab.packet.ndp.NeighborDiscoveryOptions.Option
-
- Enclosing class:
- NeighborDiscoveryOptions
public final class NeighborDiscoveryOptions.Option extends java.lang.Object
Packet option.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
data()
Gets the option data.int
dataLength()
Gets the option data length (in number of octets).java.lang.String
toString()
byte
type()
Gets the option type.
-
-
-
Method Detail
-
type
public byte type()
Gets the option type.- Returns:
- the option type
-
data
public byte[] data()
Gets the option data.- Returns:
- the option data
-
dataLength
public int dataLength()
Gets the option data length (in number of octets).- Returns:
- the option data length (in number of octets)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-