Home
last modified time | relevance | path

Searched refs:addrBytes (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DIpPrefix.java191 byte[] addrBytes = address.getAddress(); in contains()
192 if (addrBytes == null || addrBytes.length != this.address.length) { in contains()
195 NetUtils.maskRawAddress(addrBytes, prefixLength); in contains()
196 return Arrays.equals(this.address, addrBytes); in contains()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java1866 private Inet4Address parseIPv4Address(byte[] addrBytes) { in parseIPv4Address() argument
1868 final InetAddress ia = Inet4Address.getByAddress(addrBytes); in parseIPv4Address()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java2033 public static int ipv4BroadcastAddress(byte[] addrBytes, int prefixLength) { in ipv4BroadcastAddress() argument
2034 return bytesToBEInt(addrBytes) | (int) (Integer.toUnsignedLong(-1) >>> prefixLength); in ipv4BroadcastAddress()