Searched refs:netif (Results 1 - 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/net/ |
H A D | InetAddressImpl.java | 64 * Whether {@code addr} is reachable over {@code netif}. 66 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, argument
|
H A D | Inet6AddressImpl.java | 142 public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws IOException { argument 146 if (netif != null) { 153 java.util.Enumeration it = netif.getInetAddresses();
|
H A D | NetworkInterface.java | 343 NetworkInterface netif = netifs[i++]; 344 return netif;
|
H A D | InetAddress.java | 432 * @param netif the NetworkInterface through which the 443 public boolean isReachable(NetworkInterface netif, int ttl, argument 450 return impl.isReachable(this, timeout, netif, ttl);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | NetworkInterfaceTest.java | 355 NetworkInterface netif = theInterfaces.nextElement(); 356 assertEquals(netif.getName() 358 netif.getInterfaceAddresses().size()); 363 NetworkInterface netif = theInterfaces.nextElement(); 364 List<InterfaceAddress> interfaceAddrs = netif.getInterfaceAddresses(); 370 List<InterfaceAddress> interfaceAddrs2 = netif.getInterfaceAddresses(); 384 NetworkInterface netif = theInterfaces.nextElement(); 386 Enumeration<InetAddress> addrs = netif.getInetAddresses(); 393 assertEquals(loopback, netif.isLoopback()); 405 NetworkInterface netif [all...] |
H A D | InetAddressTest.java | 354 NetworkInterface netif; 356 netif = nif.nextElement(); 357 ia.isReachable(netif, 10, 1000);
|
/libcore/ojluni/src/main/native/ |
H A D | Inet4AddressImpl.c | 71 struct sockaddr_in* netif, jint ttl) { 99 if (netif != NULL) { 100 if (bind(fd, (struct sockaddr*)netif, sizeof(struct sockaddr_in)) < 0) { 199 struct sockaddr_in* netif = NULL; local 236 netif = &inf; 249 return ping4(env, fd, &him, timeout, netif, ttl); 273 if (netif != NULL) { 274 if (bind(fd, (struct sockaddr*)netif, sizeof(struct sockaddr_in)) < 0) { 70 ping4(JNIEnv *env, jint fd, struct sockaddr_in* him, jint timeout, struct sockaddr_in* netif, jint ttl) argument
|
H A D | NetworkInterface.c | 74 } netif; typedef in typeref:struct:_netif 110 static jobject createNetworkInterface(JNIEnv *env, netif *ifs); 113 static netif *enumInterfaces(JNIEnv *env); 115 static netif *addif(JNIEnv *env, int sock, struct ifaddrs *ifa, netif *ifs); 116 static void freeif(netif *ifs); 169 netif *ifs, *curr; 213 netif *ifs, *curr; 253 netif *ifs, *curr; 336 netif *if [all...] |
H A D | Inet6AddressImpl.c | 145 struct sockaddr_in6* netif, jint ttl) { 180 if (netif != NULL) { 181 if (bind(fd, (struct sockaddr*)netif, sizeof(struct sockaddr_in6)) <0) { 272 struct sockaddr_in6* netif = NULL; local 318 netif = &inf6; 331 return ping6(env, fd, &him6, timeout, netif, ttl); 353 if (netif != NULL) { 354 if (bind(fd, (struct sockaddr*)netif, sizeof(struct sockaddr_in6)) <0) { 144 ping6(JNIEnv *env, jint fd, struct sockaddr_in6* him, jint timeout, struct sockaddr_in6* netif, jint ttl) argument
|
Completed in 46 milliseconds