Home
last modified time | relevance | path

Searched refs:IPPROTO_UDP (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java22 import static android.system.OsConstants.IPPROTO_UDP;
156 FileDescriptor udpSocket = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_nonblock()
170 FileDescriptor udpSocket = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_unixSocket()
199 FileDescriptor udpSocket = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_connect_networkPolicy()
/libcore/luni/annotations/flagged_api/android/system/
DOsConstants.annotated.java679 public static final int IPPROTO_UDP; field in OsConstants
680 static { IPPROTO_UDP = 0; }
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java894 Os.setsockoptInt(recvFd, IPPROTO_UDP, UDP_GRO, 1); //enable GRO
1208 FileDescriptor mUdpSock = Os.socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
1495 Os.setsockoptInt(fd, IPPROTO_UDP, UDP_GRO, setValue);
1509 assertEquals(0, Os.getsockoptInt(fd, IPPROTO_UDP, UDP_SEGMENT));
1512 Os.setsockoptInt(fd, IPPROTO_UDP, UDP_SEGMENT, setValue);
1513 assertEquals(setValue, Os.getsockoptInt(fd, IPPROTO_UDP, UDP_SEGMENT));
1586 FileDescriptor fd = Os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java147 return Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL) == IPPROTO_UDP; in isUdpSocket()
/libcore/ojluni/src/main/native/
Dnet_util_md.c1308 level = IPPROTO_UDP; in NET_Bind()
/libcore/luni/src/main/java/android/system/
DOsConstants.java394 public static final int IPPROTO_UDP = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp326 initConstant(env, c, "IPPROTO_UDP", IPPROTO_UDP); in OsConstants_initConstants()
/libcore/api/
Dcurrent.txt369 field public static final int IPPROTO_UDP;