blob: e6fe43b5fd877d684b4d66b69e2a4ad39633129f [file] [log] [blame]
alshabibb7b40632014-09-28 21:30:00 -07001package org.onlab.onos.net.proxyarp;
2
3import org.onlab.packet.Ethernet;
4import org.onlab.packet.IpPrefix;
5
6/**
7 * Service for processing arp requests on behalf of applications.
8 */
9public interface ProxyArpService {
10
11 /**
12 * Returns whether this particular ip address is known to the system.
13 *
14 * @param addr
15 * a ip address
16 * @return true if know, false otherwise
17 */
18 boolean known(IpPrefix addr);
19
20 /**
21 * Sends a reply for a given request. If the host is not known then the arp
22 * will be flooded at all edge ports.
23 *
24 * @param request
25 * an arp request
26 */
27 void reply(Ethernet request);
28
29}