Searched refs:SOCK_NONBLOCK (Results 1 – 11 of 11) sorted by relevance
/dragonfly/contrib/dhcpcd/src/ |
H A D | if.h | 243 #ifdef SOCK_NONBLOCK 246 # define SOCK_NONBLOCK 0x20000000 macro 249 #define SOCK_CXNB SOCK_CLOEXEC | SOCK_NONBLOCK
|
H A D | if.c | 979 if (xtype & SOCK_NONBLOCK) in xsocket() 980 type &= ~SOCK_NONBLOCK; in xsocket() 992 if ((xtype & SOCK_NONBLOCK) && ((xflags = fcntl(s, F_GETFL)) == -1 || in xsocket() 1019 if (xtype & SOCK_NONBLOCK) in xsocketpair() 1020 type &= ~SOCK_NONBLOCK; in xsocketpair() 1035 if ((xtype & SOCK_NONBLOCK) && ((xflags = fcntl(fd[0], F_GETFL)) == -1 || in xsocketpair() 1038 if ((xtype & SOCK_NONBLOCK) && ((xflags = fcntl(fd[1], F_GETFL)) == -1 || in xsocketpair()
|
/dragonfly/tools/tools/netrate/accept_connect/kq_connect_client/ |
H A D | kq_connect_client.c | 192 #ifndef SOCK_NONBLOCK in mainloop() 235 #ifndef SOCK_NONBLOCK in mainloop() 243 s = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in mainloop()
|
/dragonfly/test/socket/socketpair/nonblock/ |
H A D | sockpair_nblock.c | 32 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, s) < 0) in main()
|
/dragonfly/test/socket/socket/nonblock/ |
H A D | socket_nblock.c | 60 s = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0); in main()
|
/dragonfly/test/socket/accept4/nonblock/ |
H A D | accept4_nblock.c | 94 s = accept4(serv_s, NULL, NULL, SOCK_NONBLOCK); in main()
|
/dragonfly/test/socket/accept/nonblock/ |
H A D | accept_nblock.c | 81 serv_s = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in main()
|
/dragonfly/test/socket/accept4/block/ |
H A D | accept4_block.c | 91 serv_s = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in main()
|
/dragonfly/sys/kern/ |
H A D | uipc_syscalls.c | 106 if (type & SOCK_NONBLOCK) { in kern_socket() 107 type &= ~SOCK_NONBLOCK; in kern_socket() 364 if (sockflags & SOCK_NONBLOCK) in kern_accept() 516 if (uap->flags & ~(SOCK_NONBLOCK | SOCK_CLOEXEC)) in sys_accept4() 683 if (type & SOCK_NONBLOCK) { in kern_socketpair() 684 type &= ~SOCK_NONBLOCK; in kern_socketpair()
|
/dragonfly/sys/sys/ |
H A D | socket.h | 102 #define SOCK_NONBLOCK 0x20000000 macro
|
/dragonfly/crypto/libressl/apps/nc/ |
H A D | netcat.c | 644 &len, SOCK_NONBLOCK); in main() 974 SOCK_NONBLOCK, res->ai_protocol)) == -1) in remote_connect()
|