[ONOS-3374] Create arp_sha selector to onos

Change-Id: I82f29e24c5fe57d3e23e4e41a6e86c165456e901
diff --git a/core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java b/core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java
index bc1a094..c45f160 100644
--- a/core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java
+++ b/core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java
@@ -510,9 +510,9 @@
     }
 
     /**
-     * Creates a match on IPv4 source field using the specified value.
+     * Creates a match on IPv4 destination field using the specified value.
      *
-     * @param ip ipv4 source value
+     * @param ip ipv4 destination value
      * @return match criterion
      */
     public static Criterion matchArpTpa(Ip4Address ip) {
@@ -520,13 +520,23 @@
     }
 
     /**
+     * Creates a match on MAC destination field using the specified value.
+     *
+     * @param mac MAC destination value
+     * @return match criterion
+     */
+    public static Criterion matchArpTha(MacAddress mac) {
+        return new ArpHaCriterion(mac, Type.ARP_THA);
+    }
+
+    /**
      * Creates a match on MAC source field using the specified value.
      *
      * @param mac MAC source value
      * @return match criterion
      */
-    public static Criterion matchArpTha(MacAddress mac) {
-        return new ArpHaCriterion(mac, Type.ARP_THA);
+    public static Criterion matchArpSha(MacAddress mac) {
+        return new ArpHaCriterion(mac, Type.ARP_SHA);
     }
 
     public static Criterion dummy() {