Home
last modified time | relevance | path

Searched refs:sourceAddr (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DInet6AddressImpl.java176 InetAddress sourceAddr = null; in isReachable() local
189 sourceAddr = inetaddr; in isReachable()
194 if (sourceAddr == null) { in isReachable()
208 if (icmpEcho(addr, timeout, sourceAddr, ttl)) { in isReachable()
213 return tcpEcho(addr, timeout, sourceAddr, ttl); in isReachable()
217 private boolean tcpEcho(InetAddress addr, int timeout, InetAddress sourceAddr, int ttl) in tcpEcho() argument
225 if (sourceAddr != null) { in tcpEcho()
226 IoBridge.bind(fd, sourceAddr, 0); in tcpEcho()
241 protected boolean icmpEcho(InetAddress addr, int timeout, InetAddress sourceAddr, int ttl) in icmpEcho() argument
254 if (sourceAddr != null) { in icmpEcho()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/net/
DInet6AddressImpl.java61 java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl) in tcpEcho() argument
67 java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl) in icmpEcho() argument