Home
last modified time | relevance | path

Searched refs:MSG_DONTWAIT (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/ofed/librdmacm/examples/
H A Driostream.c81 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 Drstream.c81 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 Dudpong.c88 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 Dnet_help.h100 #ifndef MSG_DONTWAIT
101 #define MSG_DONTWAIT 0 macro
/freebsd/contrib/wpa/src/utils/
H A Dcommon.h70 #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 Drecvmmsg.c77 flags |= MSG_DONTWAIT; in __ssp_real()
/freebsd/usr.sbin/bhyve/
H A Dtpm_emul_swtpm.c90 len = send(tpm->fd, cmd, cmd_size, MSG_NOSIGNAL|MSG_DONTWAIT); in tpm_swtpm_execute_cmd()
H A Dnet_backend_slirp.c601 n = recv(priv->pipe[0], NULL, 0, MSG_PEEK | MSG_DONTWAIT | MSG_TRUNC); in slirp_peek_recvlen()
/freebsd/tests/sys/netinet/
H A Dudp_io.c89 ATF_REQUIRE(recvmsg(s[0], &msg, MSG_DONTWAIT) == -1); in ATF_TC_BODY()
/freebsd/tests/sys/kern/
H A Dunix_dgram.c149 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 Dnetlink.c48 left = recvfrom(sock, buf, sizeof(buf), MSG_DONTWAIT, in netlink_receive()
/freebsd/sys/rpc/
H A Dsvc_dg.c181 rcvflag = MSG_DONTWAIT; in svc_dg_recv()
H A Dsvc_vc.c807 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 Dnetreceive.c114 y = recv(t->fd, t->buf, t->buflen, MSG_DONTWAIT); in rx_body()
/freebsd/contrib/capsicum-test/
H A Dcapmode.cc181 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 Dnetlink_socket.c104 rv = send(fd, &hdr, sizeof(hdr), MSG_DONTWAIT); in fullsocket()
/freebsd/sys/sys/
H A Dsocket.h454 #define MSG_DONTWAIT 0x00000080 /* this message should be nonblocking */ macro
H A Dsocketvar.h338 #define SBLOCKWAIT(f) (((f) & MSG_DONTWAIT) ? 0 : SBL_WAIT)
/freebsd/sys/kern/
H A Duipc_socket.c548 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 Dnetlink_domain.c610 (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 Dsdp_main.c1119 (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 Dcm.c1431 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 Dhv_sock.c734 (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 Dnvmf_tcp.c1134 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 Dtftpd.c221 n = recvfrom(0, recvbuffer, MAXPKTSIZE, block ? 0 : MSG_DONTWAIT, in main()

12