public class NextHop extends Object
| Constructor and Description |
|---|
NextHop(org.onlab.packet.IpAddress ip,
org.onlab.packet.MacAddress mac)
Creates a new next hop.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
org.onlab.packet.IpAddress |
ip()
Returns the IP address of the next hop.
|
org.onlab.packet.MacAddress |
mac()
Returns the MAC address of the next hop.
|
String |
toString() |
public NextHop(org.onlab.packet.IpAddress ip,
org.onlab.packet.MacAddress mac)
ip - IP addressmac - MAC address