Searched refs:addrBytes (Results 1 – 2 of 2) sorted by relevance
182 byte[] addrBytes = (address == null) ? null : address.getAddress(); in contains()183 if (addrBytes == null || addrBytes.length != this.address.length) { in contains()186 NetworkUtils.maskRawAddress(addrBytes, prefixLength); in contains()187 return Arrays.equals(this.address, addrBytes); in contains()
1548 public static int ipv4BroadcastAddress(byte[] addrBytes, int prefixLength) { in ipv4BroadcastAddress() argument1549 return bytesToBEInt(addrBytes) | (int) (uint32(-1) >>> prefixLength); in ipv4BroadcastAddress()