Searched refs:CMSG_LEN (Results 1 – 18 of 18) sorted by relevance
70 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * 2); in server()134 cmsg->cmsg_len == CMSG_LEN(sizeof(int) * 2)) { in client()
94 msgh.msg_controllen = CMSG_LEN(sizeof(int)); in bt_audio_service_get_data_fd()
153 msgh.msg_controllen = CMSG_LEN(sizeof(int)); in unix_sendmsg_fd()158 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in unix_sendmsg_fd()
71 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in mm_send_fd()
504 #ifndef CMSG_LEN505 #define CMSG_LEN(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) macro
867 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()
91 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) macro
337 _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()
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()
298 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
689 #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()
3633 cmsg->cmsg_len == CMSG_LEN(sizeof(dnssd_sock_t)) && in read_msg()
363 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * attachments.size()); in sendOutgoingMessage()
1247 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()
596 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo));656 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo));
1375 && CMSG_LEN(sizeof(int)) <= cmsg_len) { in printcmsghdr()1391 && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) { in printcmsghdr()
684 if (c->cmsg_len < CMSG_LEN(sizeof(struct timeval))) in main_loop()
2077 if (cmsg->cmsg_len != CMSG_LEN(sizeof(int)) || in unix_process_msgfd()