Home
last modified time | relevance | path

Searched refs:IPPROTO_IP (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/native/
DNet.c279 int level = (domain == AF_INET6) ? IPPROTO_IPV6 : IPPROTO_IP; in Java_sun_nio_ch_Net_socket0()
444 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_getIntOption0()
467 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_getIntOption0()
496 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_setIntOption0()
528 setsockopt(fdval(env, fdo), IPPROTO_IP, IP_TOS, parg, arglen); in Java_sun_nio_ch_Net_setIntOption0()
570 n = setsockopt(fdval(env,fdo), IPPROTO_IP, opt, optval, optlen); in Java_sun_nio_ch_Net_joinOrDrop4()
601 n = setsockopt(fdval(env,fdo), IPPROTO_IP, opt, in Java_sun_nio_ch_Net_blockOrUnblock4()
692 n = setsockopt(fdval(env, fdo), IPPROTO_IP, IP_MULTICAST_IF, in Java_sun_nio_ch_Net_setInterface4()
706 n = getsockopt(fdval(env, fdo), IPPROTO_IP, IP_MULTICAST_IF, (void*)&in, &arglen); in Java_sun_nio_ch_Net_getInterface4()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java380 Libcore.os.setsockoptIpMreqn(fd, IPPROTO_IP, IP_MULTICAST_IF, nif.getIndex()); in setSocketOptionErrno()
385 Libcore.os.setsockoptIpMreqn(fd, IPPROTO_IP, IP_MULTICAST_IF, (Integer) value); in setSocketOptionErrno()
393 Libcore.os.setsockoptByte(fd, IPPROTO_IP, IP_MULTICAST_LOOP, enable); in setSocketOptionErrno()
399 Libcore.os.setsockoptByte(fd, IPPROTO_IP, IP_MULTICAST_TTL, (Integer) value); in setSocketOptionErrno()
403 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_TTL, (Integer) value); in setSocketOptionErrno()
407 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_TOS, (Integer) value); in setSocketOptionErrno()
450 int level = (groupReq.gr_group instanceof Inet4Address) ? IPPROTO_IP : IPPROTO_IPV6; in setSocketOptionErrno()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java40 import static android.system.OsConstants.IPPROTO_IP;
109 IPPROTO_IP, IP_MULTICAST_ALL) == 1; in test_Constructor()
/libcore/luni/src/main/java/android/system/
DOsConstants.java312 public static final int IPPROTO_IP = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp310 initConstant(env, c, "IPPROTO_IP", IPPROTO_IP); in OsConstants_initConstants()