Searched refs:ETHER_ADDR_LEN (Results 1 – 3 of 3) sorted by relevance
47 private static final int ETHER_ADDR_LEN = 6; field in MacAddress233 if (parts.length != ETHER_ADDR_LEN) { in byteAddrFromStringAddr()236 byte[] bytes = new byte[ETHER_ADDR_LEN]; in byteAddrFromStringAddr()237 for (int i = 0; i < ETHER_ADDR_LEN; i++) { in byteAddrFromStringAddr()279 if (parts.length != ETHER_ADDR_LEN) { in longAddrFromStringAddr()346 if (in.length != ETHER_ADDR_LEN) { in addr()348 + " was not an array with length equal to " + ETHER_ADDR_LEN); in addr()350 byte[] out = new byte[ETHER_ADDR_LEN]; in addr()351 for (int i = 0; i < ETHER_ADDR_LEN; i++) { in addr()
45 private static final int ETHER_ADDR_LEN = 6; field in MacAddressUtils117 byte[] bytes = new byte[ETHER_ADDR_LEN]; in byteAddrFromLongAddr()118 int index = ETHER_ADDR_LEN; in byteAddrFromLongAddr()135 return addr != null && addr.length == ETHER_ADDR_LEN; in isMacAddress()
55 private static final int ETHER_ADDR_LEN = 6; // Byte array size of MacAddress field in SoftApBackupRestore196 out.write(mac, 0, ETHER_ADDR_LEN); in writeMacAddressList()204 byte[] mac = new byte[ETHER_ADDR_LEN]; in macAddressListFromByteArray()205 in.read(mac, 0, ETHER_ADDR_LEN); in macAddressListFromByteArray()