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