Searched refs:numericToInetAddress (Results 1 – 14 of 14) sorted by relevance
34 private static InetAddress ADDRV4 = NetworkUtils.numericToInetAddress("75.208.6.1");35 private static InetAddress ADDRV6 = NetworkUtils.numericToInetAddress(37 private static InetAddress DNS1 = NetworkUtils.numericToInetAddress("75.208.7.1");38 private static InetAddress DNS2 = NetworkUtils.numericToInetAddress("69.78.7.1");39 private static InetAddress DNS6 = NetworkUtils.numericToInetAddress("2001:4860:4860::8888");40 private static InetAddress GATEWAY1 = NetworkUtils.numericToInetAddress("75.208.8.1");41 private static InetAddress GATEWAY2 = NetworkUtils.numericToInetAddress("69.78.8.1");42 private static InetAddress GATEWAY61 = NetworkUtils.numericToInetAddress("fe80::6:0000:613");43 private static InetAddress GATEWAY62 = NetworkUtils.numericToInetAddress("fe80::6:2222");53 return NetworkUtils.numericToInetAddress(addrString); in Address()[all …]
54 private static final InetAddress V4_ADDRESS = NetworkUtils.numericToInetAddress(V4);55 private static final InetAddress V6_ADDRESS = NetworkUtils.numericToInetAddress(V6);111 assertEquals(NetworkUtils.numericToInetAddress("127.0.0.1"), ipv4Loopback.getAddress()); in testConstructors()114 assertEquals(NetworkUtils.numericToInetAddress("::1"), ipv6Loopback.getAddress()); in testConstructors()
148 Inet4Address addr = (Inet4Address) NetworkUtils.numericToInetAddress(addrString); in setIpAddress()159 gateway = NetworkUtils.numericToInetAddress(addrString); in setGateway()170 dnsServers.add(NetworkUtils.numericToInetAddress(addrString)); in addDns()181 serverAddress = (Inet4Address) NetworkUtils.numericToInetAddress(addrString); in setServerAddress()
194 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() method in NetworkUtils324 return numericToInetAddress(String.format(Locale.US, "%s:%s:%s:%s:%s:%s:%s:%s", in hexToInet6Address()
200 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
152 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()183 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()200 ia = NetworkUtils.numericToInetAddress(dnsAddr); in setLinkProperties()226 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()
208 NetworkUtils.numericToInetAddress(in.readUTF()), in.readInt()); in readIpAndProxyConfigurations()220 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations()229 NetworkUtils.numericToInetAddress(in.readUTF()), in readIpAndProxyConfigurations()233 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations()245 NetworkUtils.numericToInetAddress(in.readUTF())); in readIpAndProxyConfigurations()
341 srcAddress = NetworkUtils.numericToInetAddress(srcAddrString); in startNattKeepalive()342 dstAddress = NetworkUtils.numericToInetAddress(dstAddrString); in startNattKeepalive()
87 private static final InetAddress TEST_DNS4 = NetworkUtils.numericToInetAddress("8.8.8.8");88 private static final InetAddress TEST_DNS6 = NetworkUtils.numericToInetAddress(
1020 addr = NetworkUtils.numericToInetAddress(st.nextToken()); in getInterfaceConfig()1338 cmd.appendArg(NetworkUtils.numericToInetAddress(s).getHostAddress()); in setDnsForwarders()1454 NetworkUtils.numericToInetAddress(localAddr).getHostAddress(), in attachPppd()1455 NetworkUtils.numericToInetAddress(remoteAddr).getHostAddress(), in attachPppd()1456 NetworkUtils.numericToInetAddress(dns1Addr).getHostAddress(), in attachPppd()1457 NetworkUtils.numericToInetAddress(dns2Addr).getHostAddress()); in attachPppd()2032 InetAddress a = NetworkUtils.numericToInetAddress(s); in setDnsServersForNetwork()
142 InetAddress addr = NetworkUtils.numericToInetAddress(ipAsString); in configureIfaceIp()
162 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
48 return (Inet4Address) NetworkUtils.numericToInetAddress(addrString); in v4Address()
1950 setWifiP2pInfoOnGroupFormation(NetworkUtils.numericToInetAddress(SERVER_ADDRESS)); in enter()2324 ifcg.setLinkAddress(new LinkAddress(NetworkUtils.numericToInetAddress( in startDhcpServer()