creates a macaddress from a datapathid . this factory method assumes that the first two bytes of the datapathid are 0 bytes . concode_field_sep long LLDP_MAC_ADDRESS_MASK concode_elem_sep MacAddress BROADCAST concode_elem_sep long BROADCAST_VAL concode_elem_sep int MacAddrLen concode_elem_sep MacAddress NONE concode_elem_sep MacAddress NO_MASK concode_elem_sep int MAC_STRING_LENGTH concode_elem_sep String FORMAT_ERROR concode_elem_sep long rawValue concode_elem_sep MacAddress FULL_MASK concode_elem_sep MacAddress MULTICAST_BASE_ADDRESS concode_elem_sep long NONE_VAL concode_elem_sep long LLDP_MAC_ADDRESS_VALUE concode_elem_sep byte[] bytesCache concode_field_sep MacAddress forIPv4MulticastAddress concode_elem_sep boolean isLLDPAddress concode_elem_sep void write6Bytes concode_elem_sep boolean isBroadcast concode_elem_sep int compareTo concode_elem_sep void putTo concode_elem_sep byte[] getBytes concode_elem_sep long getLong concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int getLength concode_elem_sep String toString concode_elem_sep boolean isMulticast concode_elem_sep MacAddress read6Bytes concode_elem_sep MacAddress applyMask
MacAddress function ( @ Nonnull DatapathId arg0 ) { Preconditions . checkNotNull ( arg0 , "srini_string" ) ; long loc0 = arg0 . getLong ( ) ; if ( ( loc0 & ~ BROADCAST_VAL ) != 0L ) { throw new IllegalArgumentException ( "srini_string" + "srini_string" ) ; } return of ( loc0 ) ; }