Searched refs:CMSG_SPACE (Results 1 – 12 of 12) sorted by relevance
66 const socklen_t cmsg_size = (socklen_t)CMSG_SPACE(sizeof(int)); in send_packets()85 msg->msg_controllen = CMSG_SPACE(sizeof(int)); in send_packets()92 msg->msg_controllen = CMSG_SPACE(sizeof(int)); in send_packets()128 …n_t cmsg_size = (socklen_t)MAX(CMSG_SPACE(sizeof(struct in_pktinfo)), CMSG_SPACE(sizeof(struct in6… in receive_packets()
23 char buf[CMSG_SPACE(sizeof(int))]; in send_fd()32 msg.msg_controllen = CMSG_SPACE(sizeof(int)); in send_fd()55 char buf[CMSG_SPACE(sizeof(int))]; in recv_fd()65 msg.msg_controllen = CMSG_SPACE(sizeof(int)); in recv_fd()
47 T_ASSERT_NOTNULL(cmsg = calloc(1, CMSG_SPACE(MAX_SOCK * sizeof(int))), "calloc");78 socklen_t rcmsg_size = CMSG_SPACE(MAX_SOCK * 2 * sizeof(uintptr_t));
100 char buf[CMSG_SPACE(sizeof(int))]; in tcp_send_implied_connect_v4()107 msg.msg_controllen = CMSG_SPACE(sizeof(int)); in tcp_send_implied_connect_v4()153 char buf[CMSG_SPACE(sizeof(int))]; in tcp_send_implied_connect_v6()183 msg.msg_controllen = CMSG_SPACE(sizeof(int)); in tcp_send_implied_connect_v6()
235 char control_space[CMSG_SPACE(128)] = {}; in echo()246 char reply_control_space[CMSG_SPACE(128)] = {}; in echo()292 reply_msg.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo)); in echo()
70 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in do_test()
226 char control_space[CMSG_SPACE(8192)] = {};389 char control_space[CMSG_SPACE(8192)] = {};
194 char control_space[CMSG_SPACE(8192)] = {}; in do_kqueue()
35 uint8_t ctrl[CMSG_SPACE(sizeof(int))] = {0}; in my_sendmsg()
717 #define CMSG_SPACE(l) (__DARWIN_ALIGN32(sizeof(struct cmsghdr)) + __DARWIN_ALIGN32(l)) macro
1970 if (CMSG_SPACE((u_int)size) > MLEN) { in sbcreatecontrol()1980 m->m_len = (int32_t)CMSG_SPACE(size); in sbcreatecontrol()1998 if (CMSG_SPACE((u_int)size) + (*mp)->m_len > MLEN) { in sbcreatecontrol_mbuf()2009 m->m_len += (int32_t)CMSG_SPACE(size); in sbcreatecontrol_mbuf()
2059 unsigned char tmp_buffer[CMSG_SPACE(sizeof(struct user64_timeval))] = {}; in copyout_control()2074 tmp_space = CMSG_SPACE(sizeof(struct user64_timeval)); in copyout_control()2082 tmp_space = CMSG_SPACE(sizeof(struct user32_timeval)); in copyout_control()