Lines Matching refs:CMSG_SPACE
209 const size_t len = CMSG_SPACE(sizeof(int) * nfds); in test_scm_rights3()
236 size_t len = CMSG_SPACE(sizeof(struct timeval)); in test_scm_timestamp()
259 len = CMSG_SPACE(sizeof(struct timeval) - sizeof(long)); in test_scm_timestamp()
281 size_t len = CMSG_SPACE(sizeof(struct timespec)); in test_scm_timestampns()
304 len = CMSG_SPACE(sizeof(struct timespec) - sizeof(long)); in test_scm_timestampns()
327 size_t len = CMSG_SPACE(3 * sizeof(struct timespec)); in test_scm_timestamping()
359 len = CMSG_SPACE(3 * sizeof(struct timespec) - sizeof(long)); in test_scm_timestamping()
468 max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + sizeof(*fds0) - 1; in test_sol_socket()
483 CMSG_SPACE(sizeof(fds0)) + CMSG_SPACE(sizeof(fds1)) + in test_sol_socket()
493 && CMSG_ALIGN(cmsg_len[0]) <= CMSG_SPACE(sizeof(fds0)); in test_sol_socket()
508 max_msg_controllen = CMSG_SPACE(sizeof(text)) + CMSG_LEN(0) - 1; in test_sol_socket()
539 const unsigned int len = CMSG_SPACE(sizeof(struct in_pktinfo)); in test_ip_pktinfo()
569 const unsigned int len = CMSG_SPACE(sizeof(int)); in test_ip_uint()
595 const unsigned int len = CMSG_SPACE(1); in test_ip_uint8_t()
638 unsigned int len = CMSG_SPACE(opts_len); in test_ip_opts()
677 const unsigned int len = CMSG_SPACE(sizeof(struct sock_ee)); in test_ip_recverr()
719 const unsigned int len = CMSG_SPACE(sizeof(struct sockaddr_in)); in test_ip_origdstaddr()