Home
last modified time | relevance | path

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

12

/external/chromium_org/net/tools/quic/
Dquic_socket_utils.cc27 if (hdr->msg_controllen > 0) { in GetAddressFromMsghdr()
56 if (hdr->msg_controllen > 0) { in GetOverflowFromMsghdr()
124 hdr.msg_controllen = arraysize(cbuf); in ReadPacket()
207 hdr.msg_controllen = 0; in WritePacket()
210 hdr.msg_controllen = kSpaceForIp; in WritePacket()
213 hdr.msg_controllen = cmsg->cmsg_len; in WritePacket()
/external/chromium_org/base/posix/
Dunix_domain_socket_linux.cc58 msg.msg_controllen = control_len; in SendMsg()
64 msg.msg_controllen = cmsg->cmsg_len; in SendMsg()
112 msg.msg_controllen = sizeof(control_buffer); in RecvMsgWithFlags()
122 if (msg.msg_controllen > 0) { in RecvMsgWithFlags()
159 if (r > 0 || msg.msg_controllen > 0) in RecvMsgWithFlags()
/external/chromium_org/mojo/embedder/
Dplatform_channel_utils_posix.cc94 msg.msg_controllen = CMSG_LEN(num_platform_handles * sizeof(int)); in PlatformChannelSendmsgWithHandles()
121 msg.msg_controllen = CMSG_LEN(num_handles * sizeof(int)); in PlatformChannelSendHandles()
156 msg.msg_controllen = sizeof(cmsg_buf); in PlatformChannelRecvmsg()
163 if (msg.msg_controllen == 0) in PlatformChannelRecvmsg()
/external/strace/tests/
Dscm_rights.c28 .msg_controllen = sizeof(control) in main()
53 mh.msg_controllen = cmsg->cmsg_len; in main()
/external/libnl/lib/
Dnl.c260 hdr.msg_controllen = sizeof(buf); in nl_send_iovec()
412 .msg_controllen = 0, in nl_recv()
427 msg.msg_controllen = CMSG_SPACE(sizeof(struct ucred)); in nl_recv()
428 msg.msg_control = calloc(1, msg.msg_controllen); in nl_recv()
457 msg.msg_controllen *= 2; in nl_recv()
458 msg.msg_control = realloc(msg.msg_control, msg.msg_controllen); in nl_recv()
/external/chromium_org/ipc/
Dipc_channel_posix.cc430 msgh.msg_controllen = CMSG_SPACE(sizeof(int) * num_fds); in ProcessOutgoingMessages()
437 msgh.msg_controllen = cmsg->cmsg_len; in ProcessOutgoingMessages()
453 msgh.msg_controllen = 0; in ProcessOutgoingMessages()
467 if (!msgh.msg_controllen) { in ProcessOutgoingMessages()
801 msg.msg_controllen = 0; in ReadData()
805 msg.msg_controllen = sizeof(input_cmsg_buf_); in ReadData()
847 msg.msg_controllen = sizeof(input_cmsg_buf_); in ReadFileDescriptorsFromFDPipe()
914 if (msg->msg_controllen == 0) in ExtractFileDescriptorsFromMsghdr()
/external/strace/
Dnet.c368 tprintf(", msg_controllen=%lu", (unsigned long)msg->msg_controllen); in do_msghdr()
369 if (msg->msg_controllen) in do_msghdr()
371 msg->msg_controllen); in do_msghdr()
387 uint32_t /* size_t */ msg_controllen; member
413 msg.msg_controllen = msg32.msg_controllen; in printmsghdr()
446 mmsg.msg_hdr.msg_controllen = mmsg32.msg_hdr.msg_controllen; in printmmsghdr()
/external/chromium_org/components/crash/browser/
Dcrash_handler_host_linux.cc196 msg.msg_controllen = kControlMsgSize; in OnFileCanReadWithoutBlocking()
208 msg.msg_controllen != kControlMsgSize || in OnFileCanReadWithoutBlocking()
212 if (msg.msg_controllen > 0) { in OnFileCanReadWithoutBlocking()
248 << " msg.msg_controllen:" << msg.msg_controllen in OnFileCanReadWithoutBlocking()
/external/dnsmasq/src/
Dforward.c51 msg.msg_controllen = 0; in send_from()
62 msg.msg_controllen = sizeof(control_u); in send_from()
71 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in send_from()
77 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_addr)); in send_from()
88 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in send_from()
103 if (errno == EINVAL && msg.msg_controllen) in send_from()
105 msg.msg_controllen = 0; in send_from()
621 msg.msg_controllen = sizeof(control_u); in receive_query()
646 if (msg.msg_controllen < sizeof(struct cmsghdr)) in receive_query()
Ddhcp.c129 msg.msg_controllen = 0; in dhcp_packet()
162 msg.msg_controllen = sizeof(control_u); in dhcp_packet()
174 if (msg.msg_controllen >= sizeof(struct cmsghdr)) in dhcp_packet()
184 if (msg.msg_controllen >= sizeof(struct cmsghdr)) in dhcp_packet()
191 if (msg.msg_controllen >= sizeof(struct cmsghdr)) in dhcp_packet()
256 msg.msg_controllen = 0; in dhcp_packet()
293 msg.msg_controllen = sizeof(control_u); in dhcp_packet()
298 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
Dnetlink.c84 msg.msg_controllen = 0; in netlink_recv()
/external/openssl/crypto/bio/
Dbss_dgram.c1033 msg.msg_controllen = 512; in dgram_sctp_read()
1037 if (msg.msg_controllen > 0) in dgram_sctp_read()
1274 msg.msg_controllen = 0; in dgram_sctp_write()
1287 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndinfo)); in dgram_sctp_write()
1297 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_prinfo)); in dgram_sctp_write()
1313 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndrcvinfo)); in dgram_sctp_write()
1600 msg.msg_controllen = 0; in BIO_dgram_sctp_wait_for_dry()
1623 msg.msg_controllen = 0; in BIO_dgram_sctp_wait_for_dry()
1677 msg.msg_controllen = 0; in BIO_dgram_sctp_wait_for_dry()
1726 msg.msg_controllen = 0; in BIO_dgram_sctp_msg_waiting()
[all …]
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsocket.h307 socklen_t msg_controllen; /* ancillary data buffer len */ member
378 (caddr_t)(mhdr)->msg_control + (mhdr)->msg_controllen) ? \
/external/valgrind/main/memcheck/tests/
Dsendmsg.c43 msg.msg_controllen = 0; in main()
/external/iputils/ninfod/
Dninfod.c307 msgh.msg_controllen = sizeof(recvcbuf); in ni_recv()
355 msgh.msg_controllen = sizeof(cbuf); in ni_send()
363 msgh.msg_controllen = cmsg->cmsg_len; in ni_send()
/external/chromium_org/third_party/android_crazy_linker/src/tests/
Dtest_util.h271 msg.msg_controllen = CMSG_LEN(sizeof(int)); in SendFd()
309 msg.msg_controllen = sizeof(cms); in ReceiveFd()
/external/valgrind/main/none/tests/
Dfdleak_cmsg.c66 msg.msg_controllen = sizeof(buf); in server()
/external/chromium_org/chrome/utility/image_writer/
Dimage_writer_mac.cc144 message.msg_controllen = kCmsgSocketSize; in OpenDevice()
/external/dhcpcd/
Dlpf.c187 msg.msg_controllen = sizeof(cmsgbuf); in get_raw_packet()
/external/bluetooth/bluedroid/btif/src/
Dbtif_sock_util.c122 msg.msg_controllen = sizeof msgbuf; in sock_send_fd()
/external/chromium_org/content/browser/renderer_host/
Dsandbox_ipc_linux.cc431 msg.msg_controllen = sizeof(control_buffer); in SendRendererReply()
437 msg.msg_controllen = cmsg->cmsg_len; in SendRendererReply()
/external/ipsec-tools/src/racoon/
Dsockmisc.c415 m.msg_controllen = sizeof(cmsgbuf);
426 m.msg_controllen != 0 && cm;
594 m.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
654 m.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
/external/libpcap/
Dpcap-can-linux.c234 msg.msg_controllen = handle->offset; in can_read_linux()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_recv_thread.c221 msg.msg_controllen = 0;
352 msg.msg_controllen = 0; in recv_function_raw()
545 msg.msg_controllen = (socklen_t)CMSG_LEN(sizeof (struct in6_pktinfo)); in recv_function_raw6()
710 msg.msg_controllen = sizeof(cmsgbuf); in recv_function_udp()
914 msg.msg_controllen = (socklen_t)CMSG_LEN(sizeof (struct in6_pktinfo)); in recv_function_udp6()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c533 msg.msg_controllen = sizeof(control_un.control); in recvfrom_flags()
571 if (msg.msg_controllen < (socklen_t)sizeof(struct cmsghdr) || in recvfrom_flags()

12