/libcore/ojluni/src/main/java/java/net/ |
D | MulticastSocket.java | 220 public void setTTL(byte ttl) throws IOException { in setTTL() argument 223 getImpl().setTTL(ttl); in setTTL() 245 public void setTimeToLive(int ttl) throws IOException { in setTimeToLive() argument 246 if (ttl < 0 || ttl > 255) { in setTimeToLive() 251 getImpl().setTimeToLive(ttl); in setTimeToLive() 669 public void send(DatagramPacket p, byte ttl) in send() argument 683 security.checkMulticast(p.getAddress(), ttl); in send() local 704 if (ttl != dttl) { in send() 706 getImpl().setTTL(ttl); in send() 712 if (ttl != dttl) { in send()
|
D | Inet6AddressImpl.java | 174 …public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws … in isReachable() argument 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 222 if (ttl > 0) { in tcpEcho() 223 IoBridge.setSocketOption(fd, IoBridge.JAVA_IP_TTL, ttl); in tcpEcho() 241 protected boolean icmpEcho(InetAddress addr, int timeout, InetAddress sourceAddr, int ttl) in icmpEcho() argument 251 if (ttl > 0) { in icmpEcho() 252 IoBridge.setSocketOption(fd, IoBridge.JAVA_IP_TTL, ttl); in icmpEcho()
|
D | DatagramSocketImpl.java | 170 protected abstract void setTTL(byte ttl) throws IOException; in setTTL() argument 191 protected abstract void setTimeToLive(int ttl) throws IOException; in setTimeToLive() argument 343 Integer ttl = getTimeToLive(); in getOption() local 344 return (T)ttl; in getOption()
|
D | PlainDatagramSocketImpl.java | 158 protected void setTimeToLive(int ttl) throws IOException { in setTimeToLive() argument 159 IoBridge.setSocketOption(fd, JAVA_IP_MULTICAST_TTL, ttl); in setTimeToLive() 166 protected void setTTL(byte ttl) throws IOException { in setTTL() argument 167 setTimeToLive((int) ttl & 0xff); in setTTL()
|
D | InetAddressImpl.java | 77 int ttl) throws IOException; in isReachable() argument
|
D | InetAddress.java | 518 public boolean isReachable(NetworkInterface netif, int ttl, in isReachable() argument 520 if (ttl < 0) in isReachable() 525 return impl.isReachable(this, timeout, netif, ttl); in isReachable()
|
D | AbstractPlainDatagramSocketImpl.java | 174 protected abstract void setTimeToLive(int ttl) throws IOException; in setTimeToLive() argument 186 protected abstract void setTTL(byte ttl) throws IOException; in setTTL() argument
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Inet6AddressImpl.java | 55 java.net.InetAddress addr, int timeout, java.net.NetworkInterface netif, int ttl) in isReachable() argument 61 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
|
D | InetAddress.java | 92 public boolean isReachable(java.net.NetworkInterface netif, int ttl, int timeout) in isReachable() argument
|
/libcore/ojluni/src/main/java/jdk/internal/misc/ |
D | TerminatingThreadLocal.java | 69 for (TerminatingThreadLocal<?> ttl : REGISTRY.get()) { in threadTerminated() 70 ttl._threadTerminated(); in threadTerminated()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketImplTest.java | 177 protected void setTTL(byte ttl) throws IOException { in setTTL() argument 182 protected void setTimeToLive(int ttl) throws IOException { in setTimeToLive() argument
|
/libcore/ojluni/src/main/java/java/lang/ |
D | SecurityManager.java | 173 public void checkMulticast(InetAddress maddr, byte ttl) { } in checkMulticast() argument
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DatagramSocketAdaptor.java | 391 protected void setTTL(byte ttl) throws IOException {} 396 protected void setTimeToLive(int ttl) throws IOException {}
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 2275 long ttl = control.getTimeToLive(cacheKey.getName(), in setExpirationTime() local 2277 if (ttl >= 0) { in setExpirationTime() 2282 cacheKey.expirationTime = now + ttl; in setExpirationTime() 2283 } else if (ttl >= Control.TTL_NO_EXPIRATION_CONTROL) { in setExpirationTime() 2284 cacheKey.expirationTime = ttl; in setExpirationTime() 2286 throw new IllegalArgumentException("Invalid Control: TTL=" + ttl); in setExpirationTime()
|
/libcore/ojluni/annotations/sdk/nullability/java/net/ |
D | InetAddress.annotated.java | 57 public boolean isReachable(@libcore.util.Nullable java.net.NetworkInterface netif, int ttl, int tim… in isReachable() argument
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | InetAddress.annotated.java | 60 public boolean isReachable(java.net.NetworkInterface netif, int ttl, int timeout) throws java.io.IO… in isReachable() argument
|