Searched refs:CMSG_SPACE (Results 1 - 25 of 42) sorted by relevance

12

/macosx-10.10/postfix-255/postfix/src/util/
H A Dunix_recv_fd.c65 * Second edition. Except that we use CMSG_LEN instead of CMSG_SPACE, for
68 #if defined(CMSG_SPACE) && !defined(NO_MSGHDR_MSG_CONTROL)
71 char control[CMSG_SPACE(sizeof(newfd))];
105 #if defined(CMSG_SPACE) && !defined(NO_MSGHDR_MSG_CONTROL)
H A Dunix_send_fd.c67 * Second edition. Except that we use CMSG_LEN instead of CMSG_SPACE, for
70 #if defined(CMSG_SPACE) && !defined(NO_MSGHDR_MSG_CONTROL)
73 char control[CMSG_SPACE(sizeof(sendfd))];
H A Dsys_defs.h80 #ifndef CMSG_SPACE
81 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) macro
604 * XXX Need CMSG_SPACE() and CMSG_LEN() but don't want to drag in everything
608 #ifndef CMSG_SPACE
609 #define CMSG_SPACE(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(len)) macro
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dgetpeereid.c98 # ifndef CMSG_SPACE
99 # define CMSG_SPACE(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(len))
180 crmsgsize = CMSG_SPACE(SOCKCREDSIZE(NGROUPS));
/macosx-10.10/Libinfo-459/gen.subproj/
H A Dip6opt.c68 return(CMSG_SPACE((nbytes + 7) & ~7));
249 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext)))
253 if (cmsg->cmsg_len < CMSG_SPACE(hdrlen))
305 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext)))
309 if (cmsg->cmsg_len < CMSG_SPACE(hdrlen))
H A Drthdr.c65 return (CMSG_SPACE(sizeof(struct in6_addr) * (seg - 1) +
68 return (CMSG_SPACE(sizeof(struct in6_addr) * seg +
/macosx-10.10/OpenSSH-189/openssh/
H A Dmonitor_fdpass.c54 char buf[CMSG_SPACE(sizeof(int))];
115 char buf[CMSG_SPACE(sizeof(int))];
H A Ddefines.h505 #ifndef CMSG_SPACE
506 #define CMSG_SPACE(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(len)) macro
/macosx-10.10/network_cmds-457/rtsol.tproj/
H A Dprobe.c98 int scmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) +
99 CMSG_SPACE(sizeof(int));
H A Drtsol.c82 sndcmsglen = rcvcmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) +
83 CMSG_SPACE(sizeof(int));
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dfdmover.cpp39 Element *element = (Element *)::malloc(CMSG_SPACE(more));
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dfdmover.cpp39 Element *element = (Element *)::malloc(CMSG_SPACE(more));
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dos-local.c204 # ifndef CMSG_SPACE
205 # define CMSG_SPACE(len) (_CMSG_ALIGN( sizeof(struct cmsghdr)) + _CMSG_ALIGN(len) ) macro
212 unsigned char control[CMSG_SPACE(sizeof(int))];
/macosx-10.10/ruby-106/ruby/ext/socket/
H A Dextconf.rb152 char dummy[CMSG_SPACE(sizeof(int))];
171 s_msg.msg_controllen = CMSG_SPACE(sizeof(int));;
192 r_msg.msg_controllen = CMSG_SPACE(sizeof(int));
200 memset(&r_cmsg, 0xff, CMSG_SPACE(sizeof(int)));
H A Dunixsocket.c331 arg.msg.msg_controllen = (socklen_t)CMSG_SPACE(sizeof(int));
371 if ((socklen_t)CMSG_SPACE(sizeof(int)) < arg.msg.msg_controllen) {
373 "file descriptor was not passed (msg_controllen=%d bigger than CMSG_SPACE(sizeof(int))=%d)",
374 (int)arg.msg.msg_controllen, (int)CMSG_SPACE(sizeof(int)));
H A Drubysocket.h158 #ifndef CMSG_SPACE
159 # define CMSG_SPACE(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(len)) macro
/macosx-10.10/Security-57031.1.35/Security/tlsnke/tlsnketest/
H A Dtlssocket.c58 int cbuf_len=CMSG_SPACE(sizeof(*hdr))+1024;
160 int cbuf_len=CMSG_SPACE(sizeof(*hdr));
/macosx-10.10/bootp-298/IPConfiguration.bproj/
H A DIPv6Socket.c66 #define BUF_SIZE_NO_HLIM CMSG_SPACE(sizeof(struct in6_pktinfo))
67 #define BUF_SIZE (BUF_SIZE_NO_HLIM + CMSG_SPACE(sizeof(int)))
H A DRTADVSocket.c83 #define RECEIVE_CMSG_BUF_SIZE (CMSG_SPACE(sizeof(struct in6_pktinfo)) \
84 + CMSG_SPACE(sizeof(int)))
/macosx-10.10/WebKit2-7600.1.25/Platform/IPC/unix/
H A DConnectionUnix.cpp296 message.msg_controllen = CMSG_SPACE(sizeof(int) * attachmentMaxAmount);
472 auto attachmentFDBuffer = std::make_unique<char[]>(CMSG_SPACE(sizeof(int) * attachmentFDBufferLength));
479 message.msg_controllen = CMSG_SPACE(sizeof(int) * attachmentFDBufferLength);
/macosx-10.10/netcat-22/
H A Dsourceroute.c133 if (*lenp < (int)CMSG_SPACE(sizeof(struct ip6_rthdr) +
/macosx-10.10/WebKit2-7600.1.25/Shared/linux/SeccompFilters/
H A DSeccompBroker.cpp86 char control[CMSG_SPACE(sizeof(fd))];
116 char control[CMSG_SPACE(sizeof(fd))];
/macosx-10.10/Heimdal-398.1.2/lib/ipc/
H A Dserver.c614 crmsgsize = CMSG_SPACE(SOCKCREDSIZE(NGROUPS));
893 cmsglen += CMSG_SPACE(sizeof(struct in6_pktinfo));
896 cmsglen += CMSG_SPACE(sizeof(struct in_pktinfo));
941 hdr.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
959 hdr.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
1150 cmsglen += CMSG_SPACE(sizeof(struct in6_pktinfo));
1153 cmsglen += CMSG_SPACE(sizeof(struct in_pktinfo));
/macosx-10.10/network_cmds-457/ping6.tproj/
H A Dping6.c657 rthlen = CMSG_SPACE(inet6_rth_space(IPV6_RTHDR_TYPE_0,
949 ip6optlen += CMSG_SPACE(sizeof(struct in6_pktinfo));
952 ip6optlen += CMSG_SPACE(sizeof(int));
956 ip6optlen += CMSG_SPACE(sizeof(int));
960 ip6optlen += CMSG_SPACE(sizeof(int));
972 ip6optlen += CMSG_SPACE(sizeof(int));
2016 if (bufsize < (extlen + CMSG_SPACE(0))) {
2018 extlen = bufsize - CMSG_SPACE(0);
2097 if (bufsize < (rthsize + CMSG_SPACE(0))) {
2101 segments -= (rthsize - (bufsize - CMSG_SPACE(
[all...]
/macosx-10.10/dcerpc-61/dcerpc/ncklib/
H A Dcomsoc_bsd.c252 #ifndef CMSG_SPACE macro
253 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len))
1640 char buf[CMSG_SPACE(sizeof(pipefd[0]))];
1728 char buf[CMSG_SPACE(sizeof(fd))];

Completed in 405 milliseconds

12