Home
last modified time | relevance | path

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

/openbsd/sys/kern/
H A Dsys_socket.c65 flags |= MSG_DONTWAIT; in soo_read()
77 flags |= MSG_DONTWAIT; in soo_write()
171 flags = (fp->f_flag & FNONBLOCK) ? MSG_DONTWAIT : 0; in soo_close()
H A Duipc_syscalls.c109 soclose(so, MSG_DONTWAIT); in sys_socket()
722 flags |= MSG_DONTWAIT; in sendit()
981 flags |= MSG_DONTWAIT; in sys_recvmmsg()
1081 mp->msg_flags |= MSG_DONTWAIT; in recvit()
1637 soclose(so, MSG_DONTWAIT); in sys_ypconnect()
1662 soclose(so, MSG_DONTWAIT); in sys_ypconnect()
1670 soclose(so, MSG_DONTWAIT); in sys_ypconnect()
H A Duipc_socket.c415 (flags & MSG_DONTWAIT)) in soclose()
550 #define SBLOCKWAIT(f) (((f) & MSG_DONTWAIT) ? 0 : SBL_WAIT)
644 if (flags & MSG_DONTWAIT) in sosend()
901 if (m == NULL || (((flags & MSG_DONTWAIT) == 0 && in soreceive()
940 if (flags & MSG_DONTWAIT) { in soreceive()
H A Dsubr_log.c710 int flags = (fp->f_flag & FNONBLOCK) ? MSG_DONTWAIT : 0; in dosendsyslog()
/openbsd/usr.sbin/unbound/util/
H A Dnet_help.h100 #ifndef MSG_DONTWAIT
101 #define MSG_DONTWAIT 0 macro
H A Dnetevent.c1002 rcv = recvmsg(fd, &msg, MSG_DONTWAIT);
1110 sldns_buffer_remaining(rep.c->buffer), MSG_DONTWAIT,
2231 current_read_size-c->tcp_byte_count, MSG_DONTWAIT);
2276 current_read_size-c->tcp_byte_count, MSG_DONTWAIT);
2315 sizeof(uint16_t)-c->tcp_byte_count, MSG_DONTWAIT);
2348 sldns_buffer_remaining(c->buffer), MSG_DONTWAIT);
2970 sldns_buffer_remaining(c->buffer), MSG_DONTWAIT);
3408 ret = recv(h2_session->c->fd, buf, len, MSG_DONTWAIT);
/openbsd/sbin/unwind/libunbound/util/
H A Dnet_help.h100 #ifndef MSG_DONTWAIT
101 #define MSG_DONTWAIT 0 macro
H A Dnetevent.c1002 rcv = recvmsg(fd, &msg, MSG_DONTWAIT);
1110 sldns_buffer_remaining(rep.c->buffer), MSG_DONTWAIT,
2231 current_read_size-c->tcp_byte_count, MSG_DONTWAIT);
2276 current_read_size-c->tcp_byte_count, MSG_DONTWAIT);
2315 sizeof(uint16_t)-c->tcp_byte_count, MSG_DONTWAIT);
2348 sldns_buffer_remaining(c->buffer), MSG_DONTWAIT);
2970 sldns_buffer_remaining(c->buffer), MSG_DONTWAIT);
3408 ret = recv(h2_session->c->fd, buf, len, MSG_DONTWAIT);
/openbsd/sys/net/
H A Dbfd.c255 soclose(bfd->bc_so, MSG_DONTWAIT); in bfd_clear_task()
259 soclose(bfd->bc_soecho, MSG_DONTWAIT); in bfd_clear_task()
262 soclose(bfd->bc_sosend, MSG_DONTWAIT); in bfd_clear_task()
497 soclose(so, MSG_DONTWAIT); in bfd_listener()
619 soclose(so, MSG_DONTWAIT); in bfd_sender()
648 flags = MSG_DONTWAIT; in bfd_upcall_task()
999 return(sosend(bfd->bc_sosend, NULL, NULL, m, NULL, MSG_DONTWAIT)); in bfd_send()
H A Dif_pflow.c318 error = soclose(sc->so, MSG_DONTWAIT); in pflow_clone_destroy()
380 soclose(sc->so, MSG_DONTWAIT); in pflow_set()
426 soclose(sc->so, MSG_DONTWAIT); in pflow_set()
475 soclose(so, MSG_DONTWAIT); in pflow_set()
482 soclose(sc->so, MSG_DONTWAIT); in pflow_set()
H A Dif_vxlan.c989 soclose(so, MSG_DONTWAIT); in vxlan_tep_add_addr()
1017 soclose(vt->vt_so, MSG_DONTWAIT); in vxlan_tep_del_addr()
/openbsd/usr.sbin/syslogd/
H A Dprivsep_fdpass.c109 recv(sock, &result, sizeof(int), MSG_DONTWAIT); in receive_fd()
/openbsd/usr.sbin/rarpd/
H A Darptab.c227 l = recv(s, (char *)&m_rtmsg, sizeof(m_rtmsg), MSG_DONTWAIT); in rtmsg()
/openbsd/usr.bin/snmp/
H A Dsnmp.c322 ret = send(agent->fd, message, len, MSG_DONTWAIT); in snmp_resolve()
334 ret = recv(agent->fd, buf, sizeof(buf), MSG_DONTWAIT); in snmp_resolve()
/openbsd/sys/miscfs/fifofs/
H A Dfifo_vnops.c254 flags |= MSG_DONTWAIT; in fifo_read()
281 flags |= MSG_DONTWAIT; in fifo_write()
/openbsd/usr.sbin/nsd/dnstap/
H A Ddnstap_collector.c175 r = recv(fd, buffer_current(buf), buffer_capacity(buf), MSG_DONTWAIT); in recv_into_buffer()
516 r = send(s, data, len, MSG_DONTWAIT | MSG_NOSIGNAL); in attempt_to_send()
/openbsd/sys/sys/
H A Dsocket.h507 #define MSG_DONTWAIT 0x80 /* this message should be nonblocking */ macro
/openbsd/gnu/usr.bin/perl/cpan/Socket/
H A DMakefile.PL197 MSG_BCAST MSG_BTAG MSG_CTLFLAGS MSG_CTLIGNORE MSG_DONTWAIT MSG_EOF
/openbsd/sys/nfs/
H A Dnfs_socket.c1613 flags = MSG_DONTWAIT; in nfsrv_rcv()
1648 flags = MSG_DONTWAIT; in nfsrv_rcv()
/openbsd/lib/libagentx/
H A Dax.c390 MSG_NOSIGNAL | MSG_DONTWAIT)) == -1) in ax_send()
/openbsd/usr.sbin/unbound/dnstap/
H A Dunbound-dnstap-socket.c622 ssize_t ret = recv(fd, buf, len, MSG_DONTWAIT); in receive_bytes()
H A Ddtstream.c957 r = recv(dtio->fd, (void*)buf, len, MSG_DONTWAIT); in receive_bytes()
/openbsd/usr.sbin/snmpd/
H A Dax.c492 MSG_NOSIGNAL | MSG_DONTWAIT)) == -1) in ax_send()
/openbsd/gnu/usr.bin/perl/
H A Dutil.c4302 #ifdef MSG_DONTWAIT
4304 sizeof(buffer), MSG_DONTWAIT,
/openbsd/usr.sbin/unbound/doc/
H A DChangelog776 - Patch from Vadim Fedorenko that adds MSG_DONTWAIT to receive