/libcore/ojluni/src/main/java/java/net/ |
D | MulticastSocket.java | 216 public void setTTL(byte ttl) throws IOException { in setTTL() argument 219 getImpl().setTTL(ttl); in setTTL() 241 public void setTimeToLive(int ttl) throws IOException { in setTimeToLive() argument 242 if (ttl < 0 || ttl > 255) { in setTimeToLive() 247 getImpl().setTimeToLive(ttl); in setTimeToLive() 662 public void send(DatagramPacket p, byte ttl) in send() argument 676 security.checkMulticast(p.getAddress(), ttl); in send() local 697 if (ttl != dttl) { in send() 699 getImpl().setTTL(ttl); in send() 705 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 296 Integer ttl = getTimeToLive(); in getOption() local 297 return (T)ttl; in getOption()
|
D | PlainDatagramSocketImpl.java | 157 protected void setTimeToLive(int ttl) throws IOException { in setTimeToLive() argument 158 IoBridge.setSocketOption(fd, JAVA_IP_MULTICAST_TTL, ttl); in setTimeToLive() 165 protected void setTTL(byte ttl) throws IOException { in setTTL() argument 166 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketImplTest.java | 143 protected void setTTL(byte ttl) throws IOException { in setTTL() argument 148 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/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
|
/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 | 1719 long ttl = control.getTimeToLive(cacheKey.getName(), in setExpirationTime() local 1721 if (ttl >= 0) { in setExpirationTime() 1726 cacheKey.expirationTime = now + ttl; in setExpirationTime() 1727 } else if (ttl >= Control.TTL_NO_EXPIRATION_CONTROL) { in setExpirationTime() 1728 cacheKey.expirationTime = ttl; in setExpirationTime() 1730 throw new IllegalArgumentException("Invalid Control: TTL=" + ttl); in setExpirationTime()
|
/libcore/luni/src/main/java/libcore/net/ |
D | mime.types | 755 text/turtle ttl
|