public class Arp extends Object implements Protocol
Arp.Builder (mutable).
Includes support for the following OpenFlow match fields:
| Modifier and Type | Class and Description |
|---|---|
static class |
Arp.Builder
Builder (mutable) used to create new protocol instances.
|
static class |
Arp.OpCode
Operation code.
|
| Modifier and Type | Method and Description |
|---|---|
HardwareType |
hwType()
Returns the hardware type.
|
ProtocolId |
id()
Returns the protocol ID.
|
Arp.OpCode |
opCode()
Returns the operation code.
|
IpAddress |
senderIpAddr()
Returns the sender IP address.
|
MacAddress |
senderMacAddr()
Returns the sender MAC address.
|
IpAddress |
targetIpAddr()
Returns the target IP address.
|
MacAddress |
targetMacAddr()
Returns the target MAC address.
|
String |
toDebugString()
Returns the protocol debug string.
|
String |
toString() |
public ProtocolId id()
Protocolpublic HardwareType hwType()
public Arp.OpCode opCode()
public MacAddress senderMacAddr()
public IpAddress senderIpAddr()
public MacAddress targetMacAddr()
public IpAddress targetIpAddr()
public String toDebugString()
ProtocoltoDebugString in interface ProtocolCopyright © 2014. All Rights Reserved.