Home
last modified time | relevance | path

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

/openbsd/src/sys/kern/
Dsys_socket.c65 flags |= MSG_DONTWAIT; in soo_read()
77 flags |= MSG_DONTWAIT; in soo_write()
170 flags = (fp->f_flag & FNONBLOCK) ? MSG_DONTWAIT : 0; in soo_close()
Duipc_syscalls.c109 soclose(so, MSG_DONTWAIT); in sys_socket()
715 flags |= MSG_DONTWAIT; in sendit()
971 flags |= MSG_DONTWAIT; in sys_recvmmsg()
1071 mp->msg_flags |= MSG_DONTWAIT; in recvit()
1627 soclose(so, MSG_DONTWAIT); in sys_ypconnect()
1652 soclose(so, MSG_DONTWAIT); in sys_ypconnect()
1660 soclose(so, MSG_DONTWAIT); in sys_ypconnect()
Duipc_socket.c384 (flags & MSG_DONTWAIT)) in soclose()
572 #define SBLOCKWAIT(f) (((f) & MSG_DONTWAIT) ? 0 : SBL_WAIT)
663 if (flags & MSG_DONTWAIT) in sosend()
902 if (m == NULL || (((flags & MSG_DONTWAIT) == 0 && in soreceive()
941 if (flags & MSG_DONTWAIT) { in soreceive()
Dsubr_log.c713 int flags = (fp->f_flag & FNONBLOCK) ? MSG_DONTWAIT : 0; in dosendsyslog()
/openbsd/src/sys/net/
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()
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()
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/src/sbin/unwind/libunbound/util/
Dnet_help.h100 #ifndef MSG_DONTWAIT
101 #define MSG_DONTWAIT 0 macro
Dnetevent.c1003 rcv = recvmsg(fd, &msg, MSG_DONTWAIT);
1111 sldns_buffer_remaining(rep.c->buffer), MSG_DONTWAIT,
2232 current_read_size-c->tcp_byte_count, MSG_DONTWAIT);
2277 current_read_size-c->tcp_byte_count, MSG_DONTWAIT);
2316 sizeof(uint16_t)-c->tcp_byte_count, MSG_DONTWAIT);
2349 sldns_buffer_remaining(c->buffer), MSG_DONTWAIT);
2972 sldns_buffer_remaining(c->buffer), MSG_DONTWAIT);
3417 ret = recv(h2_session->c->fd, buf, len, MSG_DONTWAIT);
/openbsd/src/usr.sbin/unbound/util/
Dnet_help.h100 #ifndef MSG_DONTWAIT
101 #define MSG_DONTWAIT 0 macro
Dnetevent.c1003 rcv = recvmsg(fd, &msg, MSG_DONTWAIT);
1111 sldns_buffer_remaining(rep.c->buffer), MSG_DONTWAIT,
2232 current_read_size-c->tcp_byte_count, MSG_DONTWAIT);
2277 current_read_size-c->tcp_byte_count, MSG_DONTWAIT);
2316 sizeof(uint16_t)-c->tcp_byte_count, MSG_DONTWAIT);
2349 sldns_buffer_remaining(c->buffer), MSG_DONTWAIT);
2972 sldns_buffer_remaining(c->buffer), MSG_DONTWAIT);
3417 ret = recv(h2_session->c->fd, buf, len, MSG_DONTWAIT);
/openbsd/src/usr.sbin/syslogd/
Dprivsep_fdpass.c109 recv(sock, &result, sizeof(int), MSG_DONTWAIT); in receive_fd()
/openbsd/src/usr.sbin/rarpd/
Darptab.c227 l = recv(s, (char *)&m_rtmsg, sizeof(m_rtmsg), MSG_DONTWAIT); in rtmsg()
/openbsd/src/usr.bin/snmp/
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/src/sys/miscfs/fifofs/
Dfifo_vnops.c262 flags |= MSG_DONTWAIT; in fifo_read()
289 flags |= MSG_DONTWAIT; in fifo_write()
/openbsd/src/usr.sbin/nsd/dnstap/
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/src/sys/sys/
Dsocket.h509 #define MSG_DONTWAIT 0x80 /* this message should be nonblocking */ macro
/openbsd/src/gnu/usr.bin/perl/cpan/Socket/
DMakefile.PL198 MSG_BCAST MSG_BTAG MSG_CTLFLAGS MSG_CTLIGNORE MSG_DONTWAIT MSG_EOF
/openbsd/src/sys/nfs/
Dnfs_socket.c1616 flags = MSG_DONTWAIT; in nfsrv_rcv()
1651 flags = MSG_DONTWAIT; in nfsrv_rcv()
/openbsd/src/lib/libagentx/
Dax.c390 MSG_NOSIGNAL | MSG_DONTWAIT)) == -1) in ax_send()
/openbsd/src/usr.sbin/snmpd/
Dax.c492 MSG_NOSIGNAL | MSG_DONTWAIT)) == -1) in ax_send()
/openbsd/src/usr.sbin/unbound/dnstap/
Dunbound-dnstap-socket.c717 ssize_t ret = recv(fd, buf, len, MSG_DONTWAIT); in receive_bytes()
Ddtstream.c963 r = recv(dtio->fd, (void*)buf, len, MSG_DONTWAIT); in receive_bytes()
/openbsd/src/gnu/usr.bin/perl/
Dutil.c4368 #ifdef MSG_DONTWAIT
4370 sizeof(buffer), MSG_DONTWAIT,
/openbsd/src/usr.sbin/unbound/doc/
DChangelog1220 - Patch from Vadim Fedorenko that adds MSG_DONTWAIT to receive