/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | riostream.c | 81 static int flags = MSG_DONTWAIT; 339 if (flags & MSG_DONTWAIT) in set_options() 566 flags = (flags & ~MSG_DONTWAIT) | MSG_WAITALL; in set_test_opt() 569 flags |= MSG_DONTWAIT; in set_test_opt() 581 flags = (flags & ~MSG_DONTWAIT) | MSG_WAITALL; in set_test_opt() 583 flags |= MSG_DONTWAIT; in set_test_opt() 669 if (!(flags & MSG_DONTWAIT)) in main()
|
H A D | rstream.c | 81 static int flags = MSG_DONTWAIT; 298 if (flags & MSG_DONTWAIT) in set_options() 578 flags = (flags & ~MSG_DONTWAIT) | MSG_WAITALL; in set_test_opt() 585 flags |= MSG_DONTWAIT; in set_test_opt() 602 flags = (flags & ~MSG_DONTWAIT) | MSG_WAITALL; in set_test_opt() 604 flags |= MSG_DONTWAIT; in set_test_opt() 702 if (!(flags & MSG_DONTWAIT)) in main()
|
H A D | udpong.c | 88 static int flags = MSG_DONTWAIT; 165 if (flags & MSG_DONTWAIT) in set_options() 349 ret = rs_recv(rs, msg, size, flags | MSG_DONTWAIT); in client_recv() 485 flags = MSG_DONTWAIT; in set_test_opt() 501 flags = MSG_DONTWAIT; in set_test_opt()
|
/freebsd/contrib/unbound/util/ |
H A D | net_help.h | 100 #ifndef MSG_DONTWAIT 101 #define MSG_DONTWAIT 0 macro
|
/freebsd/contrib/wpa/src/utils/ |
H A D | common.h | 70 #ifndef MSG_DONTWAIT 71 #define MSG_DONTWAIT 0 /* not supported */ macro 419 #ifndef MSG_DONTWAIT 420 #define MSG_DONTWAIT 0 macro
|
/freebsd/lib/libsys/ |
H A D | recvmmsg.c | 77 flags |= MSG_DONTWAIT; in __ssp_real()
|
/freebsd/usr.sbin/bhyve/ |
H A D | tpm_emul_swtpm.c | 90 len = send(tpm->fd, cmd, cmd_size, MSG_NOSIGNAL|MSG_DONTWAIT); in tpm_swtpm_execute_cmd()
|
H A D | net_backend_slirp.c | 601 n = recv(priv->pipe[0], NULL, 0, MSG_PEEK | MSG_DONTWAIT | MSG_TRUNC); in slirp_peek_recvlen()
|
/freebsd/tests/sys/netinet/ |
H A D | udp_io.c | 89 ATF_REQUIRE(recvmsg(s[0], &msg, MSG_DONTWAIT) == -1); in ATF_TC_BODY()
|
/freebsd/tests/sys/kern/ |
H A D | unix_dgram.c | 149 ATF_REQUIRE(recv(fd[1], buf, maxdgram, MSG_DONTWAIT) == -1); in ATF_TC_BODY() 264 ATF_REQUIRE(recv(one, buf, sizeof(buf), MSG_DONTWAIT) == -1); in ATF_TC_BODY()
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | netlink.c | 48 left = recvfrom(sock, buf, sizeof(buf), MSG_DONTWAIT, in netlink_receive()
|
/freebsd/sys/rpc/ |
H A D | svc_dg.c | 181 rcvflag = MSG_DONTWAIT; in svc_dg_recv()
|
H A D | svc_vc.c | 807 rcvflag = MSG_DONTWAIT; in svc_vc_recv() 870 rcvflag = MSG_DONTWAIT; in svc_vc_recv() 918 rcvflag = MSG_DONTWAIT | MSG_TLSAPPDATA; in svc_vc_recv()
|
/freebsd/tools/tools/netrate/netreceive/ |
H A D | netreceive.c | 114 y = recv(t->fd, t->buf, t->buflen, MSG_DONTWAIT); in rx_body()
|
/freebsd/contrib/capsicum-test/ |
H A D | capmode.cc | 181 int rc = recvfrom(fd_socket_, NULL, 0, MSG_DONTWAIT, NULL, NULL); in FORK_TEST_F() 271 EXPECT_FAIL_NOT_CAPMODE(recvmmsg(fd_socket, &mm, 1, MSG_DONTWAIT, &ts)); in FORK_TEST()
|
/freebsd/tests/sys/netlink/ |
H A D | netlink_socket.c | 104 rv = send(fd, &hdr, sizeof(hdr), MSG_DONTWAIT); in fullsocket()
|
/freebsd/sys/sys/ |
H A D | socket.h | 454 #define MSG_DONTWAIT 0x00000080 /* this message should be nonblocking */ macro
|
H A D | socketvar.h | 338 #define SBLOCKWAIT(f) (((f) & MSG_DONTWAIT) ? 0 : SBL_WAIT)
|
/freebsd/sys/kern/ |
H A D | uipc_socket.c | 548 flags = MSG_DONTWAIT; in so_splice_xfer_data() 565 MSG_DONTWAIT, curthread); in so_splice_xfer_data() 2400 (flags & (MSG_NBIO | MSG_DONTWAIT)) != 0) { 2732 if (m == NULL || (((flags & MSG_DONTWAIT) == 0 && 2786 (flags & (MSG_DONTWAIT|MSG_NBIO))) { 3043 if (flags & MSG_DONTWAIT) { 3260 ((so->so_state & SS_NBIO) || (flags & (MSG_DONTWAIT|MSG_NBIO)))) { 3268 (flags & (MSG_DONTWAIT|MSG_NBIO)) || 3506 (flags & (MSG_DONTWAIT|MSG_NBIO))) {
|
/freebsd/sys/netlink/ |
H A D | netlink_domain.c | 610 (flags & (MSG_NBIO | MSG_DONTWAIT)) != 0) { in nl_sosend() 692 (flags & (MSG_DONTWAIT | MSG_NBIO)); in nl_soreceive()
|
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_main.c | 1119 (flags & (MSG_NBIO | MSG_DONTWAIT)) != 0) { in sdp_sosend() 1271 ((so->so_state & SS_NBIO) || (flags & (MSG_DONTWAIT|MSG_NBIO)))) { in sdp_sorecv() 1302 (flags & (MSG_DONTWAIT|MSG_NBIO)) || in sdp_sorecv()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cm.c | 1431 err = -sosend(ep->com.so, NULL, NULL, m, NULL, MSG_DONTWAIT, in send_mpa_req() 1514 err = -sosend(ep->com.so, NULL, NULL, m, NULL, MSG_DONTWAIT, ep->com.thread); in send_mpa_reject() 1605 err = -sosend(ep->com.so, NULL, NULL, m, NULL, MSG_DONTWAIT, in send_mpa_reply() 1865 int flags = MSG_DONTWAIT; in process_mpa_reply() 2208 int flags = MSG_DONTWAIT; in process_mpa_request()
|
/freebsd/sys/dev/hyperv/hvsock/ |
H A D | hv_sock.c | 734 (flags & (MSG_DONTWAIT|MSG_NBIO))) { in hvs_trans_soreceive() 834 (flags & (MSG_NBIO | MSG_DONTWAIT)) != 0) { in hvs_trans_sosend()
|
/freebsd/sys/dev/nvmf/ |
H A D | nvmf_tcp.c | 1134 flags = MSG_DONTWAIT | MSG_PEEK; in nvmf_tcp_receive() 1157 flags = MSG_DONTWAIT; in nvmf_tcp_receive() 1382 error = sosend(so, NULL, NULL, m, NULL, MSG_DONTWAIT, NULL); in nvmf_tcp_send()
|
/freebsd/libexec/tftpd/ |
H A D | tftpd.c | 221 n = recvfrom(0, recvbuffer, MAXPKTSIZE, block ? 0 : MSG_DONTWAIT, in main()
|