Searched refs:addrBytes (Results 1 – 7 of 7) sorted by relevance
189 byte[] addrBytes = address.getAddress(); in contains()190 if (addrBytes == null || addrBytes.length != this.address.length) { in contains()193 NetUtils.maskRawAddress(addrBytes, prefixLength); in contains()194 return Arrays.equals(this.address, addrBytes); in contains()
182 final byte[] addrBytes = in.createByteArray(); in readSocketAddress()183 if (addrBytes == null) { in readSocketAddress()189 return new InetSocketAddress(InetAddress.getByAddress(addrBytes), port); in readSocketAddress()
394 final byte[] addrBytes = addr.getAddress(); in isLoopbackAddress()396 if (addrBytes[i] != 0) return false; in isLoopbackAddress()398 return addrBytes[10] == (byte) 0xff in isLoopbackAddress()399 && addrBytes[11] == (byte) 0xff in isLoopbackAddress()400 && addrBytes[12] == 127; in isLoopbackAddress()
1447 final byte[] addrBytes = addr.getAddress(); in getReverseDnsAddress()1450 for (int i = addrBytes.length - 1; i >= 0; i--) { in getReverseDnsAddress()1451 out.add(String.valueOf(Byte.toUnsignedInt(addrBytes[i]))); in getReverseDnsAddress()1455 final String hexAddr = HexDump.toHexString(addrBytes); in getReverseDnsAddress()
2284 private Inet4Address parseIPv4Address(byte[] addrBytes) { in parseIPv4Address() argument2286 final InetAddress ia = Inet4Address.getByAddress(addrBytes); in parseIPv4Address()
2361 public static int ipv4BroadcastAddress(byte[] addrBytes, int prefixLength) { in ipv4BroadcastAddress() argument2362 return bytesToBEInt(addrBytes) | (int) (Integer.toUnsignedLong(-1) >>> prefixLength); in ipv4BroadcastAddress()
2855 public static int ipv4BroadcastAddress(byte[] addrBytes, int prefixLength) { in ipv4BroadcastAddress() argument2856 return bytesToBEInt(addrBytes) | (int) (Integer.toUnsignedLong(-1) >>> prefixLength); in ipv4BroadcastAddress()