Searched refs:IPPROTO_IP (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | Net.c | 285 int level = (domain == AF_INET6) ? IPPROTO_IPV6 : IPPROTO_IP; in Java_sun_nio_ch_Net_socket0() 462 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_getIntOption0() 485 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_getIntOption0() 514 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_setIntOption0() 546 setsockopt(fdval(env, fdo), IPPROTO_IP, IP_TOS, parg, arglen); in Java_sun_nio_ch_Net_setIntOption0() 588 n = setsockopt(fdval(env,fdo), IPPROTO_IP, opt, optval, optlen); in Java_sun_nio_ch_Net_joinOrDrop4() 619 n = setsockopt(fdval(env,fdo), IPPROTO_IP, opt, in Java_sun_nio_ch_Net_blockOrUnblock4() 710 n = setsockopt(fdval(env, fdo), IPPROTO_IP, IP_MULTICAST_IF, in Java_sun_nio_ch_Net_setInterface4() 724 n = getsockopt(fdval(env, fdo), IPPROTO_IP, IP_MULTICAST_IF, (void*)&in, &arglen); in Java_sun_nio_ch_Net_getInterface4()
|
D | net_util_md.c | 922 { java_net_SocketOptions_IP_TOS, IPPROTO_IP, IP_TOS }, 923 { java_net_SocketOptions_IP_MULTICAST_IF, IPPROTO_IP, IP_MULTICAST_IF }, 924 { java_net_SocketOptions_IP_MULTICAST_IF2, IPPROTO_IP, IP_MULTICAST_IF }, 925 { java_net_SocketOptions_IP_MULTICAST_LOOP, IPPROTO_IP, IP_MULTICAST_LOOP }, 1073 if (level == IPPROTO_IP && opt == IP_TOS) { in NET_SetSockOpt()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 458 Libcore.os.setsockoptIpMreqn(fd, IPPROTO_IP, IP_MULTICAST_IF, nif.getIndex()); in setSocketOptionErrno() 463 Libcore.os.setsockoptIpMreqn(fd, IPPROTO_IP, IP_MULTICAST_IF, (Integer) value); in setSocketOptionErrno() 471 Libcore.os.setsockoptByte(fd, IPPROTO_IP, IP_MULTICAST_LOOP, enable); in setSocketOptionErrno() 477 Libcore.os.setsockoptByte(fd, IPPROTO_IP, IP_MULTICAST_TTL, (Integer) value); in setSocketOptionErrno() 481 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_TTL, (Integer) value); in setSocketOptionErrno() 485 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_TOS, (Integer) value); in setSocketOptionErrno() 528 int level = (groupReq.gr_group instanceof Inet4Address) ? IPPROTO_IP : IPPROTO_IPV6; in setSocketOptionErrno()
|
/libcore/ojluni/src/main/java/java/net/ |
D | PlainDatagramSocketImpl.java | 39 import static android.system.OsConstants.IPPROTO_IP; 202 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_MULTICAST_ALL, 0); in datagramSocketCreate()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketTest.java | 40 import static android.system.OsConstants.IPPROTO_IP; 109 IPPROTO_IP, IP_MULTICAST_ALL) == 1; in test_Constructor()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 392 public static final int IPPROTO_IP = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 316 initConstant(env, c, "IPPROTO_IP", IPPROTO_IP); in OsConstants_initConstants()
|
/libcore/api/ |
D | current.txt | 342 field public static final int IPPROTO_IP;
|