Home
last modified time | relevance | path

Searched refs:CMSG_LEN (Results 1 – 18 of 18) sorted by relevance

/external/valgrind/main/none/tests/
Dfdleak_cmsg.c70 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * 2); in server()
134 cmsg->cmsg_len == CMSG_LEN(sizeof(int) * 2)) { in client()
/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()
158 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in unix_sendmsg_fd()
/external/openssh/
Dmonitor_fdpass.c71 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in mm_send_fd()
Ddefines.h504 #ifndef CMSG_LEN
505 #define CMSG_LEN(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) macro
/external/ping6/
Dping6.c867 scmsgp->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in main()
885 scmsgp->cmsg_len = CMSG_LEN(sizeof(int)); in main()
894 scmsgp->cmsg_len = CMSG_LEN(0); in main()
908 scmsgp->cmsg_len = CMSG_LEN(rthdrlen); in main()
2020 cm->cmsg_len == CMSG_LEN(sizeof(int))) in get_hoplim()
2039 cm->cmsg_len == CMSG_LEN(sizeof(struct in6_pktinfo))) in get_rcvpktinfo()
2060 cm->cmsg_len == CMSG_LEN(sizeof(struct ip6_mtuinfo))) { in get_pathmtu()
/external/kernel-headers/original/linux/
Dsocket.h91 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) macro
/external/dbus/dbus/
Ddbus-sysdeps-unix.c337 _dbus_assert(cm->cmsg_len <= CMSG_LEN(*n_fds * sizeof(int))); in _dbus_read_socket_with_unix_fds()
338 *n_fds = (cm->cmsg_len - CMSG_LEN(0)) / sizeof(int); in _dbus_read_socket_with_unix_fds()
444 cm->cmsg_len = CMSG_LEN(n_fds * sizeof(int)); in _dbus_write_socket_with_unix_fds_two()
1519 cmsg.hdr.cmsg_len = CMSG_LEN (sizeof (struct cmsgcred)); in write_credentials_byte()
1673 if (cmsg.hdr.cmsg_len < CMSG_LEN (sizeof (struct cmsgcred)) in _dbus_read_credentials_socket()
/external/dnsmasq/src/
Dforward.c71 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()
Ddhcp.c298 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c689 #undef CMSG_LEN in deliver_request()
690 #define CMSG_LEN(l) ((sizeof(struct cmsghdr)) + (l)) in deliver_request()
718 msg.msg_controllen = CMSG_LEN(sizeof(dnssd_sock_t)); in deliver_request()
721 cmsg->cmsg_len = CMSG_LEN(sizeof(dnssd_sock_t)); in deliver_request()
734 CMSG_LEN(sizeof(dnssd_sock_t)), (long)CMSG_SPACE(sizeof(dnssd_sock_t)), in deliver_request()
Duds_daemon.c3633 cmsg->cmsg_len == CMSG_LEN(sizeof(dnssd_sock_t)) && in read_msg()
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/
DConnectionUnix.cpp363 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * attachments.size()); in sendOutgoingMessage()
/external/openssl/crypto/bio/
Dbss_dgram.c1247 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndinfo)); in dgram_sctp_write()
1259 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_prinfo)); in dgram_sctp_write()
1269 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in dgram_sctp_write()
/external/ipsec-tools/src/racoon/
Dsockmisc.c596 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo));
656 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo));
/external/strace/
Dnet.c1375 && CMSG_LEN(sizeof(int)) <= cmsg_len) { in printcmsghdr()
1391 && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) { in printcmsghdr()
/external/ping/
Dping.c684 if (c->cmsg_len < CMSG_LEN(sizeof(struct timeval))) in main_loop()
/external/qemu/
Dqemu-char.c2077 if (cmsg->cmsg_len != CMSG_LEN(sizeof(int)) || in unix_process_msgfd()