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

123

/external/valgrind/main/memcheck/tests/
H A Dsendmsg.stderr.exp1 Syscall param sendmsg(msg) points to uninitialised byte(s)
2 at 0x........: sendmsg (in /...libc...)
3 by 0x........: main (sendmsg.c:45)
6 sendmsg: 6
H A Dsendmsg.c45 size_t s = sendmsg (fd, &msg, 0);
48 // The msg_flags field is ignored by sendmsg.
64 s = sendmsg (fd, &msg, 0);
67 perror ("sendmsg ()");
71 fprintf (stderr, "sendmsg: %d\n", (int) s);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
H A Dsendmsg.c10 ssize_t sendmsg(int fd, const struct msghdr* msg, int flags) { function
/external/strace/tests/
H A Dscm_rights-fd.test40 grep_log sendmsg '\(1<socket:\[[0-9]+\]>, \{msg_name\(0\)=NULL, msg_iov\(1\)=\[\{"\\x00\\x00\\x00\\x00[^"]*", [1-9][0-9]*\}\], msg_controllen=[1-9][0-9]*, \{cmsg_len=[1-9][0-9]*, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, \{3</dev/null>\}\}, msg_flags=0\}, 0\) += [1-9][0-9]*'
H A Dscm_rights.c55 assert(sendmsg(1, &mh, 0) == sizeof(iov));
/external/chromium_org/mojo/embedder/
H A Dplatform_channel_utils_posix.cc19 // |send()|/|sendmsg()|. (There is no way of suppressing |SIGPIPE| on
24 // - On Linux, we have to use |send()|/|sendmsg()| rather than
26 // |send()| is (slightly) faster than |write()| (!), while |sendmsg()| is
29 // faster than |send()|, whereas |sendmsg()| is quite comparable to
31 // - On both platforms, an appropriate |sendmsg()|/|writev()| is considerably
35 // one |sendmsg()| of 32+1000 bytes, two |write()|s of 32 and 1000 bytes, two
40 // Flags to use with calling |send()| or |sendmsg()| (see above).
74 return HANDLE_EINTR(sendmsg(h.fd, &msg, kSendFlags));
104 return HANDLE_EINTR(sendmsg(h.fd, &msg, kSendFlags));
114 // Note: |sendmsg()| fail
[all...]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dmock_kernel_proxy.h92 MOCK_METHOD3(sendmsg, ssize_t(int, const struct msghdr*, int));
H A Dkernel_wrap_test.cc870 TEST_F(KernelWrapTest, sendmsg) {
872 EXPECT_CALL(mock, sendmsg(kDummyInt, &msg, kDummyInt2))
874 EXPECT_EQ(kDummyInt3, sendmsg(kDummyInt, &msg, kDummyInt2));
/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_privsep.c46 if (sendmsg(l2->fd, &msg, 0) < 0) {
47 perror("L2: sendmsg(cmd)");
84 if (sendmsg(l2->fd, &msg, 0) < 0) {
85 perror("L2: sendmsg(packet_send)");
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_privsep.c46 if (sendmsg(l2->fd, &msg, 0) < 0) {
47 perror("L2: sendmsg(cmd)");
84 if (sendmsg(l2->fd, &msg, 0) < 0) {
85 perror("L2: sendmsg(packet_send)");
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
H A Dl2_packet_privsep.c46 if (sendmsg(l2->fd, &msg, 0) < 0) {
47 perror("L2: sendmsg(cmd)");
84 if (sendmsg(l2->fd, &msg, 0) < 0) {
85 perror("L2: sendmsg(packet_send)");
/external/valgrind/main/none/tests/
H A Dfdleak_cmsg.c80 (void) DO( sendmsg(x, &msg, 0) );
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_sock_util.c142 ret = sendmsg(sock_fd, &msg, MSG_NOSIGNAL);
146 BTIF_TRACE_ERROR("fd:%d, send_fd:%d, sendmsg ret:%d, errno:%d, %s",
/external/chromium_org/base/posix/
H A Dunix_domain_socket_linux.cc72 const ssize_t r = HANDLE_EINTR(sendmsg(fd, &msg, flags));
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_proxy.h210 virtual ssize_t sendmsg(int fd, const struct msghdr* msg, int flags);
H A Dkernel_wrap.h147 ssize_t sendmsg(int fd, const struct msghdr* msg, int flags);
H A Dkernel_wrap_glibc.cc157 OP(sendmsg); \
493 ssize_t WRAP(sendmsg)(int sockfd,
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
H A Dsocket.h298 * Message header for recvmsg and sendmsg calls.
299 * Used value-result for recvmsg, value only for sendmsg.
451 ssize_t sendmsg(int, const struct msghdr *, int);
/external/chromium_org/net/tools/quic/
H A Dquic_socket_utils.cc216 int rc = sendmsg(fd, &hdr, 0);
/external/chromium_org/ipc/
H A Dipc_channel_posix.cc55 // connection via sendmsg().
147 // On OS X if sendmsg() is trying to send fds between processes and there
451 bytes_written = HANDLE_EINTR(sendmsg(fd_pipe_, &msgh, MSG_DONTWAIT));
472 bytes_written = HANDLE_EINTR(sendmsg(pipe_, &msgh, MSG_DONTWAIT));
/external/iproute2/lib/
H A Dlibnetlink.c176 return sendmsg(rth->fd, &msg, 0);
306 status = sendmsg(rtnl->fd, &msg, 0);
/external/iptables/libipq/
H A Dlibipq.c117 int status = sendmsg(h->fd, msg, flags);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwpa_priv.c335 if (sendmsg(iface->fd, &msg, 0) < 0) {
336 perror("sendmsg(l2 rx)");
688 if (sendmsg(iface->fd, &msg, 0) < 0) {
689 perror("sendmsg(wpas_socket)");
903 if (sendmsg(iface->fd, &msg, 0) < 0)
904 perror("sendmsg(wpas_socket)");
/external/android-clat/
H A Dtranslate.c489 sendmsg(fd, &msg, 0);
/external/chromium_org/components/crash/browser/
H A Dcrash_handler_host_linux.cc95 // inherit some sockets. With PF_UNIX+SOCK_DGRAM, it can call sendmsg to send
415 HANDLE_EINTR(sendmsg(signal_fd, &msg, MSG_DONTWAIT | MSG_NOSIGNAL));

Completed in 516 milliseconds

123