Home
last modified time | relevance | path

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

/external/kernel-headers/original/linux/
Dsocket.h63 __kernel_size_t msg_controllen; /* Length of cmsg list */ member
96 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
99 ((mhdr)->msg_controllen - \
144 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/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()
609 msg.msg_controllen = sizeof(control_u); in receive_query()
634 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()
Dtftp.c69 msg.msg_controllen = sizeof(control_u); in tftp_request()
/external/chromium/chrome/browser/
Dcrash_handler_host_linux.cc160 msg.msg_controllen = kControlMsgSize; in OnFileCanReadWithoutBlocking()
172 if (msg.msg_controllen != kControlMsgSize || in OnFileCanReadWithoutBlocking()
175 << " msg.msg_controllen:" << msg.msg_controllen in OnFileCanReadWithoutBlocking()
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/
DConnectionUnix.cpp177 message.msg_controllen = CMSG_SPACE(sizeof(int) * (attachmentMaxAmount)); in readyReadHandler()
358 message.msg_controllen = sizeof(char) * CMSG_SPACE(sizeof(int) * attachments.size()); in sendOutgoingMessage()
371 message.msg_controllen = cmsg->cmsg_len; in sendOutgoingMessage()
/external/bluetooth/bluez/audio/
Dipc.c94 msgh.msg_controllen = CMSG_LEN(sizeof(int)); in bt_audio_service_get_data_fd()
Dunix.c153 msgh.msg_controllen = CMSG_LEN(sizeof(int)); in unix_sendmsg_fd()
/external/dbus/dbus/
Ddbus-sysdeps-unix.c289 m.msg_controllen = CMSG_SPACE(*n_fds * sizeof(int)); in _dbus_read_socket_with_unix_fds()
293 m.msg_control = alloca(m.msg_controllen); in _dbus_read_socket_with_unix_fds()
294 memset(m.msg_control, 0, m.msg_controllen); in _dbus_read_socket_with_unix_fds()
437 m.msg_controllen = CMSG_SPACE(n_fds * sizeof(int)); in _dbus_write_socket_with_unix_fds_two()
438 m.msg_control = alloca(m.msg_controllen); in _dbus_write_socket_with_unix_fds_two()
439 memset(m.msg_control, 0, m.msg_controllen); in _dbus_write_socket_with_unix_fds_two()
1517 msg.msg_controllen = CMSG_SPACE (sizeof (struct cmsgcred)); in write_credentials_byte()
1635 msg.msg_controllen = CMSG_SPACE (sizeof (struct cmsgcred)); in _dbus_read_credentials_socket()
/external/valgrind/main/none/tests/
Dfdleak_cmsg.c66 msg.msg_controllen = sizeof(buf); in server()
/external/ipsec-tools/src/racoon/
Dsockmisc.c305 m.msg_controllen = sizeof(cmsgbuf);
316 m.msg_controllen != 0 && cm;
482 m.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
542 m.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
Dprivsep.c1567 msg.msg_controllen = CMSG_SPACE(sizeof(fd));
1603 msg.msg_controllen = CMSG_SPACE(sizeof(fd));
1612 msg.msg_controllen = cmsg->cmsg_len;
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c109 msg.msg_controllen = 0; in netlink_recv()
/external/strace/
Dnet.c1152 tprintf(", msg_controllen=%lu", (unsigned long)msg.msg_controllen);
1153 if (msg.msg_controllen)
1155 msg.msg_controllen);
/external/iptables/libipq/
Dlibipq.c352 msg.msg_controllen = 0; in ipq_set_verdict()
/external/valgrind/main/include/vki/
Dvki-linux.h595 __vki_kernel_size_t msg_controllen; /* Length of cmsg list */ member
615 #define VKI_CMSG_FIRSTHDR(msg) __VKI_CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
632 return __vki_cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in vki_cmsg_nxthdr()
/external/ping/
Dping.c662 msg.msg_controllen = sizeof(ans_data); in main_loop()
989 msg.msg_controllen = sizeof(cbuf); in receive_error_msg()
1114 m.msg_controllen = cmsg_len; in send_probe()
/external/bluetooth/hcidump/src/
Dhcidump.c265 msg.msg_controllen = 100; in process_frames()
/external/ping6/
Dping6.c861 smsghdr.msg_controllen = ip6optlen; in main()
1113 m.msg_controllen = sizeof(buf); in main()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-generic.c881 foreach_func ( tid, True, "(msg)", (Addr)&msg->msg_controllen, sizeof( msg->msg_controllen ) ); in msghdr_foreachfield()
906 (Addr)msg->msg_control, msg->msg_controllen ); in msghdr_foreachfield()
/external/qemu/
Dqemu-char.c2109 msg.msg_controllen = sizeof(msg_control); in tcp_chr_recv()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_nl80211.c2657 .msg_controllen = 0, in wpa_driver_nl80211_send_mlme()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c3719 .msg_controllen = 0, in wpa_driver_nl80211_send_frame()