HomeSort by: relevance | last modified time | path
    Searched refs:CMSG_SPACE (Results 1 - 25 of 73) sorted by relevancy

1 2 3

  /src/crypto/external/bsd/openssh/dist/
monitor_fdpass.c 58 if (sizeof(cmsgbuf.buf) < CMSG_SPACE(sizeof(int))) {
60 sizeof(cmsgbuf.buf), CMSG_SPACE(sizeof(int)));
67 msg.msg_controllen = CMSG_SPACE(sizeof(int));
114 if (sizeof(cmsgbuf.buf) < CMSG_SPACE(sizeof(int))) {
116 sizeof(cmsgbuf.buf), CMSG_SPACE(sizeof(int)));
127 msg.msg_controllen = CMSG_SPACE(sizeof(int));
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.reverse/
recvmsg-reverse.c 40 char wc[CMSG_SPACE (sizeof (struct ucred)) + CMSG_SPACE (sizeof (int))];
56 char rc[CMSG_SPACE (sizeof (struct ucred)) + 7];
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.reverse/
recvmsg-reverse.c 40 char wc[CMSG_SPACE (sizeof (struct ucred)) + CMSG_SPACE (sizeof (int))];
56 char rc[CMSG_SPACE (sizeof (struct ucred)) + 7];
  /src/tests/net/fdpass/
fdpass.c 60 if (sizeof(cmsgbuf.buf) < CMSG_SPACE(sizeof(int)))
62 sizeof(cmsgbuf.buf), CMSG_SPACE(sizeof(int)));
66 msg.msg_controllen = CMSG_SPACE(sizeof(int));
113 if (sizeof(cmsgbuf.buf) < CMSG_SPACE(sizeof(int)))
115 sizeof(cmsgbuf.buf), CMSG_SPACE(sizeof(int)));
123 msg.msg_controllen = CMSG_SPACE(sizeof(int));
  /src/external/ibm-public/postfix/dist/src/util/
unix_send_fd.c 74 * Second edition. Except that we use CMSG_LEN instead of CMSG_SPACE, for
77 #if defined(CMSG_SPACE) && !defined(NO_MSGHDR_MSG_CONTROL)
80 char control[CMSG_SPACE(sizeof(sendfd))];
90 msg.msg_controllen = CMSG_SPACE(sizeof(sendfd)); /* normal */
unix_recv_fd.c 67 * 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(newfd))];
82 msg.msg_controllen = CMSG_SPACE(sizeof(newfd)); /* normal */
107 #if defined(CMSG_SPACE) && !defined(NO_MSGHDR_MSG_CONTROL)
  /src/tests/include/sys/
t_socket.c 43 cmp = malloc(CMSG_SPACE(sizeof(int)));
57 msg.msg_controllen = CMSG_SPACE(sizeof(int));
132 cmp = malloc(CMSG_SPACE(sizeof(int)));
146 msg.msg_controllen = CMSG_SPACE(sizeof(int));
  /src/dist/pf/sbin/pflogd/
privsep_fdpass.c 54 char tmp[CMSG_SPACE(sizeof(int))];
90 char tmp[CMSG_SPACE(sizeof(int))];
  /src/lib/libc/net/
sctp_sys_calls.c 771 cmsgbuf = malloc(CMSG_SPACE(sizeof(struct sctp_sndinfo)) +
772 CMSG_SPACE(sizeof(struct sctp_prinfo)) +
773 CMSG_SPACE(sizeof(struct sctp_authinfo)) +
774 (size_t)addrcnt * CMSG_SPACE(sizeof(struct in6_addr)));
801 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndinfo));
802 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_sndinfo)));
815 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_prinfo));
816 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_prinfo)));
828 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_authinfo));
829 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_authinfo)))
    [all...]
ip6opt.c 83 sp = CMSG_SPACE((nbytes + 7) & ~7);
293 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext)))
297 if (cmsg->cmsg_len < CMSG_SPACE(hdrlen))
352 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext)))
356 if (cmsg->cmsg_len < CMSG_SPACE(hdrlen))
  /src/external/bsd/openldap/dist/libraries/liblutil/
getpeereid.c 103 # ifndef CMSG_SPACE
104 # define CMSG_SPACE(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(len))
185 crmsgsize = CMSG_SPACE(SOCKCREDSIZE(NGROUPS));
  /src/external/bsd/dhcpcd/dist/src/
dhcpcd.h 99 /* dhcpcd requires CMSG_SPACE to evaluate to a compile time constant. */
102 #undef CMSG_SPACE
111 #ifndef CMSG_SPACE
112 #define CMSG_SPACE(len) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(len))
privsep.h 100 CMSG_SPACE(sizeof(struct in6_pktinfo) + \
  /src/regress/sys/kern/unfdpass/
unfdpass.c 68 #define MESSAGE_SIZE (CMSG_SPACE(FDCM_DATASIZE) + \
69 CMSG_SPACE(CRCM_DATASIZE))
101 message = malloc(CMSG_SPACE(MESSAGE_SIZE));
104 memset(message, 0, CMSG_SPACE(MESSAGE_SIZE));
356 fdcm = malloc(CMSG_SPACE(FDCM_DATASIZE));
359 memset(fdcm, 0, CMSG_SPACE(FDCM_DATASIZE));
  /src/sys/external/bsd/libnv/dist/
msgio.c 70 #define PKG_MAX_SIZE ((64U - 1) * CMSG_SPACE(sizeof(int)))
72 #define PKG_MAX_SIZE (MCLBYTES / CMSG_SPACE(sizeof(int)) - 1)
181 unsigned char credbuf[CMSG_SPACE(sizeof(struct cmsgcred))];
221 unsigned char credbuf[CMSG_SPACE(sizeof(struct cmsgcred))];
280 msg.msg_controllen = nfds * CMSG_SPACE(sizeof(int));
329 msg.msg_controllen = nfds * CMSG_SPACE(sizeof(int));
  /src/crypto/external/bsd/openssl/dist/include/internal/
ktls.h 91 char buf[CMSG_SPACE(cmsg_len)];
133 char buf[CMSG_SPACE(cmsg_len)];
306 char buf[CMSG_SPACE(sizeof(unsigned char))];
359 char buf[CMSG_SPACE(sizeof(unsigned char))];
  /src/external/bsd/wpa/dist/src/crypto/
crypto_linux.c 451 char buf[CMSG_SPACE(sizeof(u32))];
463 msg.msg_controllen = CMSG_SPACE(sizeof(u32));
542 char buf[CMSG_SPACE(sizeof(u32))];
565 msg.msg_controllen = CMSG_SPACE(sizeof(u32));
612 char buf[CMSG_SPACE(sizeof(u32))];
638 msg.msg_controllen = CMSG_SPACE(sizeof(u32));
697 msg.msg_controllen = CMSG_SPACE(sizeof(u32)) +
698 CMSG_SPACE(sizeof(*alg_iv) + iv_len);
712 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len);
806 msg.msg_controllen = CMSG_SPACE(sizeof(u32))
    [all...]
  /src/crypto/external/apache2/openssl/dist/include/internal/
ktls.h 106 char buf[CMSG_SPACE(cmsg_len)];
148 char buf[CMSG_SPACE(cmsg_len)];
351 char buf[CMSG_SPACE(sizeof(unsigned char))];
403 char buf[CMSG_SPACE(sizeof(unsigned char))];
  /src/usr.sbin/mld6query/
mld6.c 200 cmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + CMSG_SPACE(hbhlen);
203 cmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) +
  /src/external/bsd/openldap/dist/libraries/libldap/
os-local.c 197 # ifndef CMSG_SPACE
198 # define CMSG_SPACE(len) (_CMSG_ALIGN( sizeof(struct cmsghdr)) + _CMSG_ALIGN(len) )
205 unsigned char control[CMSG_SPACE(sizeof(int))];
  /src/tests/lib/libc/sys/
t_kevent.c 91 msg = malloc(CMSG_SPACE(sizeof(int)));
97 m.msg_controllen = CMSG_SPACE(sizeof(int));
  /src/external/bsd/tmux/dist/
compat.h 205 #ifndef CMSG_SPACE
206 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len))
  /src/external/bsd/blocklist/lib/
bl.c 377 char ctrl[CMSG_SPACE(sizeof(int))];
439 char ctrl[CMSG_SPACE(sizeof(int)) + CMSG_SPACE(CRED_SIZE)];
  /src/tests/net/net/
t_pktinfo.c 106 char control[CMSG_SPACE(sizeof(*ipi)) * 2];
  /src/external/bsd/mdocml/dist/
mandocd.c 69 uint8_t controlbuf[CMSG_SPACE(NUM_FDS * sizeof(int))];

Completed in 83 milliseconds

1 2 3