public interface ProxyArpService
| Modifier and Type | Method and Description |
|---|---|
void |
forward(org.onlab.packet.Ethernet eth)
Forwards an ARP request to its destination.
|
boolean |
handleArp(PacketContext context)
Handles a arp packet.
|
boolean |
known(org.onlab.packet.Ip4Address addr)
Returns whether this particular IPv4 address is known to the system.
|
void |
reply(org.onlab.packet.Ethernet eth,
ConnectPoint inPort)
Sends a reply for a given request.
|
boolean known(org.onlab.packet.Ip4Address addr)
addr - an IPv4 addressvoid reply(org.onlab.packet.Ethernet eth,
ConnectPoint inPort)
eth - an arp requestinPort - the port the request was received onvoid forward(org.onlab.packet.Ethernet eth)
eth - an ethernet frame containing an ARP request.boolean handleArp(PacketContext context)
context - the packet context to handleCopyright © 2015. All rights reserved.