Cache Sync for HostTracker
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / utils / NetUtils.java
index 8e76c3fc60d81e35b552bd8bb54edf73d997bf6e..8aee1cc37f474492916894d4b121dced2066e106 100644 (file)
@@ -28,6 +28,16 @@ public abstract class NetUtils {
      */
     public static final int NumBitsInAByte = 8;
 
+    /**
+     * Constant holding the number of bytes in MAC Address
+     */
+    public static final int MACAddrLengthInBytes = 6;
+
+    /**
+     * Constant holding the number of words in MAC Address
+     */
+    public static final int MACAddrLengthInWords = 3;
+
     /**
      * Converts a 4 bytes array into an integer number
      *