Searched refs:IPPROTO_IP (Results 1 – 7 of 7) 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 | 389 Libcore.os.setsockoptIpMreqn(fd, IPPROTO_IP, IP_MULTICAST_IF, nif.getIndex()); in setSocketOptionErrno() 394 Libcore.os.setsockoptIpMreqn(fd, IPPROTO_IP, IP_MULTICAST_IF, (Integer) value); in setSocketOptionErrno() 402 Libcore.os.setsockoptByte(fd, IPPROTO_IP, IP_MULTICAST_LOOP, enable); in setSocketOptionErrno() 408 Libcore.os.setsockoptByte(fd, IPPROTO_IP, IP_MULTICAST_TTL, (Integer) value); in setSocketOptionErrno() 412 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_TTL, (Integer) value); in setSocketOptionErrno() 416 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_TOS, (Integer) value); in setSocketOptionErrno() 459 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 | 328 public static final int IPPROTO_IP = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 311 initConstant(env, c, "IPPROTO_IP", IPPROTO_IP); in OsConstants_initConstants()
|