Searched refs:sendmsg (Results 1 - 25 of 75) sorted by relevance

123

/openbsd-current/lib/libc/sys/
H A Dw_sendmsg.c22 sendmsg(int s, const struct msghdr *msg, int flags) function
27 ret = HIDDEN(sendmsg)(s, msg, flags);
31 DEF_CANCEL(sendmsg); variable
/openbsd-current/lib/libc/hidden/sys/
H A Dsocket.h39 PROTO_CANCEL(sendmsg); variable
/openbsd-current/regress/sys/kern/pledge/filedescriptor/
H A Dpass.c61 if (sendmsg(pair[1], &msg, 0) == -1)
62 err(1, "sendmsg pre");
70 if (sendmsg(pair[1], &msg, 0) == -1)
71 err(1, "sendmsg post");
/openbsd-current/regress/sys/kern/recvwait/
H A Dmcontrol-stream.c81 if (sendmsg(s[0], &msg, 0) == -1)
82 err(1, "sendmsg 1");
88 if (sendmsg(s[0], &msg, 0) == -1)
89 err(1, "sendmsg 2");
/openbsd-current/regress/sys/kern/unixsockets/
H A Dungc.c74 if (sendmsg(sp[0], &msgh, 0) < 0) {
81 err(1, "sendmsg sp0");
86 if (sendmsg(sp[1], &msgh, 0) < 0) {
93 err(1, "sendmsg sp1");
128 if (sendmsg(sl[0], &msgh, 0) < 0) {
130 err(1, "sendmsg sl0");
H A Dunfdpassfail.c91 if (sendmsg(s[0], &msgh, 0) < 0) {
93 err(1, "sendmsg");
H A Dunsopassgc.c124 if (sendmsg(s[0], &msgh, 0) < 0) {
130 therr(1, "sendmsg");
232 if (sendmsg(s[0], &msgh, 0) < 0) {
238 therr(1, "sendmsg");
/openbsd-current/regress/sys/kern/kqueue/
H A Dkqueue-fdpass.c63 if (sendmsg(pfd[1], &msg, 0) == 0)
64 errx(1, "sendmsg succeeded when it shouldn't");
66 err(1, "child sendmsg");
67 printf("sendmsg failed with EINVAL as expected\n");
/openbsd-current/regress/usr.sbin/ospfd/
H A Dopentap.c77 if (sendmsg(fd, &msg, 0) == -1)
78 err(1, "sendmsg %d", fd);
H A DPassFd.xs51 if (sendmsg(s, &msg, 0) == -1)
/openbsd-current/gnu/usr.bin/perl/plan9/
H A Dplan9.c36 int sendmsg(int a, struct msghdr *b, int c) function
38 croak("Function \"sendmsg\" not implemented in this version of perl.");
/openbsd-current/sbin/isakmpd/
H A Dmonitor_fdpass.c65 if ((n = sendmsg(socket, &msg, 0)) == -1) {
66 log_error("mm_send_fd: sendmsg(%d)", fd);
70 log_error("mm_send_fd: sendmsg: expected sent 1 got %zd", n);
/openbsd-current/sbin/pflogd/
H A Dprivsep_fdpass.c81 if ((n = sendmsg(sock, &msg, 0)) == -1)
82 warn("%s: sendmsg(%d)", __func__, sock);
84 warnx("%s: sendmsg: expected sent 1 got %ld",
/openbsd-current/libexec/ftpd/
H A Dmonitor_fdpass.c62 if ((n = sendmsg(sock, &msg, 0)) == -1)
63 syslog(LOG_WARNING, "send_fd: sendmsg(%d): %m", sock);
65 syslog(LOG_WARNING, "send_fd: sendmsg: expected sent 1 got %zd",
/openbsd-current/usr.sbin/syslogd/
H A Dprivsep_fdpass.c76 if ((n = sendmsg(sock, &msg, 0)) == -1)
77 warn("%s: sendmsg(%d)", "send_fd", sock);
79 warnx("%s: sendmsg: expected sent 1 got %ld",
/openbsd-current/usr.sbin/tcpdump/
H A Dprivsep_fdpass.c63 if ((n = sendmsg(sock, &msg, 0)) == -1)
64 warn("%s: sendmsg(%d)", __func__, sock);
66 warnx("%s: sendmsg: expected sent 1 got %ld",
/openbsd-current/regress/sys/kern/cmsgsize/
H A Dcmsgsize.c142 return sendmsg(so, &msg, 0);
/openbsd-current/usr.bin/ssh/
H A Dmonitor_fdpass.c70 while ((n = sendmsg(sock, &msg, 0)) == -1 &&
72 debug3_f("sendmsg(%d): %s", fd, strerror(errno));
76 error_f("sendmsg(%d): %s", fd, strerror(errno));
81 error_f("sendmsg: expected sent 1 got %zd", n);
/openbsd-current/usr.bin/dig/
H A Ddighost.c658 looknew->sendmsg = NULL;
1497 if (lookup->sendmsg != NULL)
1498 dns_message_destroy(&lookup->sendmsg);
1833 result = dns_message_gettemprdata(lookup->sendmsg, &rdata);
1841 result = dns_message_gettemprdatalist(lookup->sendmsg, &rdatalist);
1844 result = dns_message_gettemprdataset(lookup->sendmsg, &rdataset);
1854 result = dns_message_gettempname(lookup->sendmsg, &soaname);
1860 dns_message_addname(lookup->sendmsg, soaname, DNS_SECTION_AUTHORITY);
1917 &lookup->sendmsg);
1936 result = dns_message_gettempname(lookup->sendmsg,
[all...]
/openbsd-current/regress/sys/kern/pledge/sendrecvfd/
H A Dsendrecvfd.c134 if (sendmsg(sock, &msg, 0) == -1)
135 err(EXIT_FAILURE, "sender: sendmsg");
/openbsd-current/regress/sys/kern/pledge/ioctl/
H A Dunfdpass.c234 if (sendmsg(sock, &msg, 0))
235 err(1, "child sendmsg");
/openbsd-current/usr.sbin/dhcpd/
H A Dsync.c371 if (sendmsg(syncfd, &msg, 0) == -1)
381 if (sendmsg(syncfd, &msg, 0) == -1)
/openbsd-current/gnu/gcc/libmudflap/
H A Dmf-runtime.h189 #pragma redefine_extname sendmsg __mfwrap_sendmsg
/openbsd-current/regress/sys/netinet/sendsrcaddr/
H A Druntest.c241 if (sendmsg(s, &msg, 0) == -1)
/openbsd-current/regress/sys/netinet6/pktinfo_addr/
H A Druntest.c222 send_rc = sendmsg(s, &msg, 0);

Completed in 293 milliseconds

123