Searched refs:sendmsg (Results 26 - 50 of 80) sorted by relevance

1234

/freebsd-current/sbin/hastd/
H A Dproto_common.c85 if (sendmsg(sock, &msg, 0) == -1)
/freebsd-current/contrib/capsicum-test/
H A Dsocket.cc308 // Can only sendmsg(2) to an address over a socket with CAP_CONNECT.
328 EXPECT_NOTCAPABLE(sendmsg(cap_sock_rw, &mh, 0));
329 EXPECT_OK(sendmsg(cap_sock_connect, &mh, 0));
/freebsd-current/sys/sys/
H A Dsyscall.mk28 sendmsg.o \
/freebsd-current/lib/libopenbsd/
H A Dimsg-buffer.c263 if ((n = sendmsg(msgbuf->fd, &msg, 0)) == -1) {
277 * assumption: fd got sent if sendmsg sent anything
/freebsd-current/lib/libc/include/
H A Dun-namespace.h209 #undef sendmsg macro
H A Dnamespace.h228 #define sendmsg _sendmsg macro
/freebsd-current/usr.sbin/rtsold/
H A Dcap_sendmsg.c120 return (sendmsg(sock, &hdr, 0));
245 warnmsg(LOG_ERR, __func__, "sendmsg on %s: %s",
279 CREATE_SERVICE("rtsold.sendmsg", NULL, sendmsg_command, 0);
/freebsd-current/tools/regression/netinet/ipbroadcast/
H A Dipbroadcast.c353 nbytes = sendmsg(s, &msg, (dontroute ? MSG_DONTROUTE : 0));
355 perror("sendmsg");
/freebsd-current/usr.sbin/nscd/
H A Dnscdcli.c161 result = sendmsg(connection->sockfd, &mhdr, 0) == -1 ? -1 : 0;
/freebsd-current/lib/libsys/
H A DMakefile.sys87 sendmsg \
502 MLINKS+=send.2 sendmsg.2 \
/freebsd-current/contrib/ofed/librdmacm/
H A Dpreload.c75 ssize_t (*sendmsg)(int socket, const struct msghdr *msg, int flags); member in struct:socket_calls
398 real.sendmsg = dlsym(RTLD_NEXT, "sendmsg");
425 rs.sendmsg = dlsym(RTLD_DEFAULT, "rsendmsg");
842 ssize_t sendmsg(int socket, const struct msghdr *msg, int flags) function
846 rsendmsg(fd, msg, flags) : real.sendmsg(fd, msg, flags);
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dchangepw.c142 if (rk_IS_SOCKET_ERROR( sendmsg (sock, &msghdr, 0) )) {
144 krb5_set_error_message(context, ret, "sendmsg %s: %s",
252 if (rk_IS_SOCKET_ERROR( sendmsg (sock, &msghdr, 0) )) {
254 krb5_set_error_message(context, ret, "sendmsg %s: %s",
/freebsd-current/crypto/openssl/engines/
H A De_afalg.c483 * kernel as part of sendmsg()'s ancillary data
503 /* Input data is not sent as part of call to sendmsg() */
508 sbytes = sendmsg(actx->sfd, &msg, 0);
510 ALG_PERR("%s(%d): sendmsg failed for zero copy cipher operation : ",
535 sbytes = sendmsg(actx->sfd, &msg, 0);
537 ALG_PERR("%s(%d): sendmsg failed for cipher operation : ", __FILE__,
/freebsd-current/contrib/tnftp/
H A Dtnftp.h488 #define sendmsg Rsendmsg macro
/freebsd-current/cddl/usr.sbin/dwatch/libexec/
H A DMakefile65 LINKS+= ${LIBEXECDIR}/dwatch/sendrecv ${LIBEXECDIR}/dwatch/sendmsg
/freebsd-current/lib/libnv/
H A Dmsgio.c133 if (sendmsg(sock, msg, 0) == -1) {
/freebsd-current/usr.sbin/mld6query/
H A Dmld6.c172 if (sendmsg(s, &m, 0) < 0)
173 err(1, "sendmsg");
/freebsd-current/tests/sys/audit/
H A Dnetwork.c865 ATF_REQUIRE((data_bytes = sendmsg(sockfd2, &sendbuf, 0)) != -1);
869 "sendmsg.*0x%x.*return,success,%zd", sockfd2, data_bytes);
886 "sendmsg(2) call");
892 "sendmsg.*return,failure : Bad address");
894 ATF_REQUIRE_EQ(-1, sendmsg(-1, NULL, 0));
929 ATF_REQUIRE(sendmsg(sockfd2, &sendbuf, 0) != -1);
/freebsd-current/lib/libc/net/
H A Dsctp_sys_calls.c609 return (sendmsg(s, &msg, 0));
668 return (sendmsg(sd, &msg, flags));
1166 ret = sendmsg(sd, &msg, flags);
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dwpa_priv.c467 if (sendmsg(iface->fd, &msg, 0) < 0) {
468 wpa_printf(MSG_ERROR, "sendmsg(l2 rx): %s", strerror(errno));
880 if (sendmsg(iface->fd, &msg, 0) < 0) {
881 wpa_printf(MSG_ERROR, "sendmsg(wpas_socket): %s",
1158 if (sendmsg(iface->fd, &msg, 0) < 0)
1159 wpa_printf(MSG_ERROR, "sendmsg(wpas_socket): %s",
/freebsd-current/contrib/bsnmp/snmpd/
H A Dtrans_udp.c252 return (sendmsg(p->input.fd, &msg, 0));
/freebsd-current/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c276 SDPSTATS_COUNTER_GET(sendmsg));
/freebsd-current/contrib/wpa/src/drivers/
H A Ddriver_nl80211_monitor.c497 res = sendmsg(drv->monitor_sock, &msg, 0);
499 wpa_printf(MSG_INFO, "nl80211: sendmsg: %s", strerror(errno));
/freebsd-current/tests/sys/kern/
H A Dunix_dgram.c353 ATF_REQUIRE(sendmsg(fd[0], &msghdr, 0) == 42);
/freebsd-current/sbin/dhclient/
H A Dbpf.c389 result = sendmsg(interface->ufdesc, &msg, 0);

Completed in 380 milliseconds

1234