Home
last modified time | relevance | path

Searched refs:SOCK_NONBLOCK (Results 1 – 25 of 56) sorted by relevance

123

/external/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c45 #ifndef SOCK_NONBLOCK
46 #define SOCK_NONBLOCK O_NONBLOCK macro
77 if ((flags & SOCK_CLOEXEC) && (flags & SOCK_NONBLOCK)) in accept4_01()
79 if (flags & SOCK_NONBLOCK) in accept4_01()
156 ((nonblock_flag & SOCK_NONBLOCK) != 0); in do_test()
164 fdf & O_NONBLOCK, nonblock_flag & SOCK_NONBLOCK); in do_test()
237 do_test(lfd, &conn_addr, 0, SOCK_NONBLOCK); in main()
238 do_test(lfd, &conn_addr, SOCK_CLOEXEC, SOCK_NONBLOCK); in main()
/external/strace/xlat/
Dsock_type_flags.h20 #if defined(SOCK_NONBLOCK) || (defined(HAVE_DECL_SOCK_NONBLOCK) && HAVE_DECL_SOCK_NONBLOCK)
21 XLAT(SOCK_NONBLOCK),
Dsock_type_flags.in2 SOCK_NONBLOCK
/external/ltp/include/lapi/
Dfcntl.h33 #ifndef SOCK_NONBLOCK
34 # define SOCK_NONBLOCK O_NONBLOCK macro
/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_utils_linux.cc36 flags |= nonblock ? SOCK_NONBLOCK : 0; in grpc_accept4()
/external/ltp/testcases/kernel/syscalls/socket/
Dsocket02.c46 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/external/libusb/libusb/os/
Dlinux_netlink.c99 #if defined(SOCK_NONBLOCK) in linux_netlink_start_event_monitor()
100 socktype |= SOCK_NONBLOCK; in linux_netlink_start_event_monitor()
/external/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair02.c49 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/external/syzkaller/sys/netbsd/
Dsocket_amd64.const53 SOCK_NONBLOCK = 536870912
Dsocket.txt37 socket_type = SOCK_STREAM, SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_NONBLOCK, SOCK_CLOE…
38 accept_flags = SOCK_NONBLOCK, SOCK_CLOEXEC, SOCK_NOSIGPIPE
/external/syzkaller/sys/freebsd/
Dsocket_amd64.const64 SOCK_NONBLOCK = 536870912
Dsocket.txt39 socket_type = SOCK_STREAM, SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_NONBLOCK, SOCK_CLOE…
40 accept_flags = SOCK_NONBLOCK, SOCK_CLOEXEC
/external/libevent/
Dutil-internal.h456 #ifdef SOCK_NONBLOCK
457 #define EVUTIL_SOCK_NONBLOCK SOCK_NONBLOCK
Devutil.c2526 #if defined(SOCK_NONBLOCK) && defined(SOCK_CLOEXEC) in evutil_socket_()
2530 else if ((type & (SOCK_NONBLOCK|SOCK_CLOEXEC)) == 0) in evutil_socket_()
2565 #if defined(EVENT__HAVE_ACCEPT4) && defined(SOCK_CLOEXEC) && defined(SOCK_NONBLOCK) in evutil_accept4_()
/external/syzkaller/sys/linux/
Dsocket_ppc64le.const224 SOCK_NONBLOCK = 2048
Dsocket_386.const224 SOCK_NONBLOCK = 2048
Dsocket_arm64.const224 SOCK_NONBLOCK = 2048
Dsocket_arm.const224 SOCK_NONBLOCK = 2048
Dsocket_amd64.const224 SOCK_NONBLOCK = 2048
Dsocket.txt43 …SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_DCCP, SOCK_PACKET, SOCK_NONBLOCK, SOCK_CLOEXEC
44 accept_flags = SOCK_NONBLOCK, SOCK_CLOEXEC
/external/android-clat/
Dclatd_microbenchmark.c165 int sock = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP); in open_socket()
Dclatd_test.cpp438 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, fds)) { in do_translate_packet()
566 .write_fd6 = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK, IPPROTO_RAW), in makeTunData()
1093 .write_fd6 = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK, IPPROTO_RAW), in TEST_F()
Dclatd.c234 int rawsock = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, IPPROTO_RAW); in open_sockets()
/external/honggfuzz/examples/linux_kernel_ip/
Dtun.c216 tcp_acc_sock = accept4(tcp_sock, (struct sockaddr*)&nsock, &slen, SOCK_NONBLOCK); in main()
/external/python/cpython3/Modules/
Dsocketmodule.c960 #ifdef SOCK_NONBLOCK in init_sockobject()
961 s->sock_type = s->sock_type & ~SOCK_NONBLOCK; in init_sockobject()
970 #ifdef SOCK_NONBLOCK in init_sockobject()
971 if (type & SOCK_NONBLOCK) in init_sockobject()
7152 #ifdef SOCK_NONBLOCK
7153 PyModule_AddIntMacro(m, SOCK_NONBLOCK);

123