Home
last modified time | relevance | path

Searched defs:ttl (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DMulticastSocket.java210 public void setTTL(byte ttl) throws IOException { in setTTL()
235 public void setTimeToLive(int ttl) throws IOException { in setTimeToLive()
655 public void send(DatagramPacket p, byte ttl) in send()
669 security.checkMulticast(p.getAddress(), ttl); in send() local
DInet6AddressImpl.java142 …public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws … in isReachable()
219 …private native boolean isReachable0(byte[] addr, int scope, int timeout, byte[] inf, int ttl, int … in isReachable0()
DDatagramSocketImpl.java150 protected abstract void setTTL(byte ttl) throws IOException; in setTTL()
171 protected abstract void setTimeToLive(int ttl) throws IOException; in setTimeToLive()
DPlainDatagramSocketImpl.java53 protected native void setTimeToLive(int ttl) throws IOException; in setTimeToLive()
57 protected native void setTTL(byte ttl) throws IOException; in setTTL()
DInetAddressImpl.java67 int ttl) throws IOException; in isReachable()
DAbstractPlainDatagramSocketImpl.java59 private int ttl = -1; field in AbstractPlainDatagramSocketImpl
157 protected abstract void setTimeToLive(int ttl) throws IOException; in setTimeToLive()
168 protected abstract void setTTL(byte ttl) throws IOException; in setTTL()
DInetAddress.java443 public boolean isReachable(NetworkInterface netif, int ttl, in isReachable()
/libcore/ojluni/src/main/native/
DInet4AddressImpl.c71 struct sockaddr_in* netif, jint ttl) { in ping4()
194 jint ttl) { in Inet4AddressImpl_isReachable0()
DInet6AddressImpl.c145 struct sockaddr_in6* netif, jint ttl) { in ping6()
266 jint ttl, jint if_scope) { in Inet6AddressImpl_isReachable0()
DPlainDatagramSocketImpl.c1026 int ttl = 1; in PlainDatagramSocketImpl_datagramSocketCreate() local
1584 jbyte ttl) { in PlainDatagramSocketImpl_setTTL()
1595 static void setTTL(JNIEnv *env, int fd, jint ttl) { in setTTL()
1608 static void setHopLimit(JNIEnv *env, int fd, jint ttl) { in setHopLimit()
1625 jint ttl) { in PlainDatagramSocketImpl_setTimeToLive()
1689 int ttl = 0; in PlainDatagramSocketImpl_getTimeToLive() local
1702 u_char ttl = 0; in PlainDatagramSocketImpl_getTimeToLive() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketImplTest.java136 protected void setTTL(byte ttl) throws IOException { in setTTL()
141 protected void setTimeToLive(int ttl) throws IOException { in setTimeToLive()
/libcore/ojluni/src/main/java/java/lang/
DSecurityManager.java163 public void checkMulticast(InetAddress maddr, byte ttl) { } in checkMulticast()
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java1659 long ttl = control.getTimeToLive(cacheKey.getName(), in setExpirationTime() local