commit | b5522ff102069cb015270a44b5ec79184e5d25d3 | [log] [tgz] |
---|---|---|
author | alshabib <alshabibi.ali@gmail.com> | Mon Sep 29 19:20:00 2014 -0700 |
committer | alshabib <alshabibi.ali@gmail.com> | Mon Sep 29 19:20:00 2014 -0700 |
tree | e447e433f791c92bce296595ecabf80d28f8d40b | |
parent | 271a6209c5a91d2cfc15fc272a4f0fe250e75195 [diff] [blame] |
proxy arp functional; needs testing Change-Id: Ib948ec3eac07d2650becf720a9c3c5ca014a0994
diff --git a/core/api/src/main/java/org/onlab/onos/net/proxyarp/ProxyArpService.java b/core/api/src/main/java/org/onlab/onos/net/proxyarp/ProxyArpService.java index e6fe43b..36c8aed 100644 --- a/core/api/src/main/java/org/onlab/onos/net/proxyarp/ProxyArpService.java +++ b/core/api/src/main/java/org/onlab/onos/net/proxyarp/ProxyArpService.java
@@ -21,9 +21,16 @@ * Sends a reply for a given request. If the host is not known then the arp * will be flooded at all edge ports. * - * @param request + * @param eth * an arp request */ - void reply(Ethernet request); + void reply(Ethernet eth); + + /** + * Forwards an ARP request to its destination. Floods at the edge the ARP request if the + * destination is not known. + * @param eth an ethernet frame containing an ARP request. + */ + void forward(Ethernet eth); }