public final class RouteAttributeGateway extends RouteAttribute
| Modifier and Type | Field and Description |
|---|---|
static int |
VALUE_LENGTH |
ROUTE_ATTRIBUTE_HEADER_LENGTH, RTA_DST, RTA_GATEWAY, RTA_OIF, RTA_PRIORITY| Modifier and Type | Method and Description |
|---|---|
static RouteAttributeDecoder<RouteAttributeGateway> |
decoder()
Returns a decoder for a gateway route attribute.
|
org.onlab.packet.IpAddress |
gateway()
Returns the gateway address.
|
String |
toString() |
decode, length, typepublic static final int VALUE_LENGTH
public org.onlab.packet.IpAddress gateway()
public String toString()
toString in class RouteAttributepublic static RouteAttributeDecoder<RouteAttributeGateway> decoder()