Searched refs:inetAddressToInt (Results 1 – 4 of 4) sorted by relevance
149 public static int inetAddressToInt(Inet4Address inetAddr) in inetAddressToInt() method in NetworkUtils188 int i = Integer.reverseBytes(inetAddressToInt(netmask)); in netmaskToPrefixLength()
1878 … info.ipAddress = NetworkUtils.inetAddressToInt((Inet4Address) dhcpResults.ipAddress.getAddress()); in getDhcpInfo()1882 info.gateway = NetworkUtils.inetAddressToInt((Inet4Address) dhcpResults.gateway); in getDhcpInfo()1889 info.dns1 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()1891 info.dns2 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()1898 info.serverAddress = NetworkUtils.inetAddressToInt(serverAddress); in getDhcpInfo()
3413 int newAddress = NetworkUtils.inetAddressToInt(addr); in handleIPv4Success()
519 result = NetworkUtils.inetAddressToInt((Inet4Address)mIpAddress); in getIpAddress()