Home
last modified time | relevance | path

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

/dragonfly/contrib/dhcpcd/src/
H A Dif.h243 #ifdef SOCK_NONBLOCK
246 # define SOCK_NONBLOCK 0x20000000 macro
249 #define SOCK_CXNB SOCK_CLOEXEC | SOCK_NONBLOCK
H A Dif.c979 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 Dkq_connect_client.c192 #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 Dsockpair_nblock.c32 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, s) < 0) in main()
/dragonfly/test/socket/socket/nonblock/
H A Dsocket_nblock.c60 s = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0); in main()
/dragonfly/test/socket/accept4/nonblock/
H A Daccept4_nblock.c94 s = accept4(serv_s, NULL, NULL, SOCK_NONBLOCK); in main()
/dragonfly/test/socket/accept/nonblock/
H A Daccept_nblock.c81 serv_s = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in main()
/dragonfly/test/socket/accept4/block/
H A Daccept4_block.c91 serv_s = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in main()
/dragonfly/sys/kern/
H A Duipc_syscalls.c106 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 Dsocket.h102 #define SOCK_NONBLOCK 0x20000000 macro
/dragonfly/crypto/libressl/apps/nc/
H A Dnetcat.c644 &len, SOCK_NONBLOCK); in main()
974 SOCK_NONBLOCK, res->ai_protocol)) == -1) in remote_connect()