Symbol: CMSG_SPACE
lib/libc/gen/auth_subr.c
1006
char buf[CMSG_SPACE(sizeof(int))];
lib/libutil/imsg-buffer.c
755
char buf[CMSG_SPACE(sizeof(int))];
lib/libutil/imsg-buffer.c
902
char buf[CMSG_SPACE(sizeof(int) * 1)];
libexec/ftpd/monitor_fdpass.c
37
char buf[CMSG_SPACE(sizeof(int))];
libexec/ftpd/monitor_fdpass.c
75
char buf[CMSG_SPACE(sizeof(int))];
libexec/login_skey/login_skey.c
280
char buf[CMSG_SPACE(sizeof(int))];
libexec/snmpd/snmpd_metrics/util.c
46
char inbuf[CMSG_SPACE(sizeof(struct in_addr))];
libexec/snmpd/snmpd_metrics/util.c
47
char in6buf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
libexec/snmpd/snmpd_metrics/util.c
99
char buf[CMSG_SPACE(sizeof(struct sockaddr_storage))];
regress/lib/libc/sys/t_kevent.c
92
msg = malloc(CMSG_SPACE(sizeof(int)));
regress/lib/libc/sys/t_kevent.c
98
m.msg_controllen = CMSG_SPACE(sizeof(int));
regress/sys/dev/kcov/kcov.c
384
unsigned char buf[CMSG_SPACE(sizeof(int))];
regress/sys/kern/cmsgsize/cmsgsize.c
105
char cmsgbuf[CMSG_SPACE(sizeof(struct in_addr))];
regress/sys/kern/kqueue/kqueue-fdpass.c
28
char buf[CMSG_SPACE(sizeof(int))];
regress/sys/kern/pledge/filedescriptor/pass.c
36
unsigned char buf[CMSG_SPACE(sizeof(int))];
regress/sys/kern/pledge/ioctl/unfdpass.c
215
char buf[CMSG_SPACE(sizeof(int))];
regress/sys/kern/pledge/ioctl/unfdpass.c
75
char buf[CMSG_SPACE(sizeof(int))];
regress/sys/kern/pledge/sendrecvfd/sendrecvfd.c
104
unsigned char buf[CMSG_SPACE(sizeof(int))];
regress/sys/kern/pledge/sendrecvfd/sendrecvfd.c
51
unsigned char buf[CMSG_SPACE(sizeof(int))];
regress/sys/kern/recvwait/mcontrol-stream.c
36
unsigned char buf[CMSG_SPACE(sizeof(int))];
regress/sys/kern/unfdpass/unfdpass.c
284
len = CMSG_SPACE(sizeof(int) * nfds);
regress/sys/kern/unfdpass/unfdpass.c
71
char buf[CMSG_SPACE(sizeof(int) * 3)];
regress/sys/kern/unixsockets/unfdpassfail.c
34
char control[CMSG_SPACE(sizeof(int)*2)];
regress/sys/kern/unixsockets/ungc.c
115
msgh.msg_controllen = CMSG_SPACE(sizeof(int) * 2);
regress/sys/kern/unixsockets/ungc.c
33
char control[CMSG_SPACE(sizeof(int) * 2)];
regress/sys/kern/unixsockets/ungc.c
62
msgh.msg_controllen = CMSG_SPACE(sizeof(int));
regress/sys/kern/unixsockets/unsopassgc.c
82
char control[CMSG_SPACE(sizeof(int) * PASSFD_NUM)];
regress/sys/netinet/sendsrcaddr/runtest.c
201
#define CMSGSP_SADDR CMSG_SPACE(sizeof(u_int32_t))
regress/sys/netinet/sendsrcaddr/runtest.c
202
#define CMSGSP_HOPLIM CMSG_SPACE(sizeof(int))
regress/sys/netinet/sendsrcaddr/runtest.c
203
#define CMSGSP_BOGUS CMSG_SPACE(12)
regress/sys/netinet6/pktinfo_addr/runtest.c
170
unsigned char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
regress/usr.sbin/ospfd/opentap.c
50
unsigned char buf[CMSG_SPACE(sizeof(int))];
sbin/iked/util.c
297
char inbuf[CMSG_SPACE(sizeof(struct in_addr))];
sbin/iked/util.c
298
char in6buf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
sbin/iked/util.c
350
char buf[CMSG_SPACE(sizeof(struct sockaddr_storage))];
sbin/isakmpd/monitor_fdpass.c
44
char buf[CMSG_SPACE(sizeof(int))];
sbin/isakmpd/monitor_fdpass.c
82
char buf[CMSG_SPACE(sizeof(int))];
sbin/pflogd/privsep_fdpass.c
55
char buf[CMSG_SPACE(sizeof(int))];
sbin/pflogd/privsep_fdpass.c
94
char buf[CMSG_SPACE(sizeof(int))];
sbin/ping/ping.c
680
if ((scmsg = malloc( CMSG_SPACE(sizeof(int)))) == NULL)
sbin/ping/ping.c
683
smsghdr.msg_controllen = CMSG_SPACE(sizeof(int));
sbin/ping/ping.c
801
u_char buf[CMSG_SPACE(1024)];
sbin/ping/ping.c
863
u_char buf[CMSG_SPACE(1024)];
sbin/slaacd/frontend.c
1089
CMSG_SPACE(sizeof(struct in6_pktinfo)) +
sbin/slaacd/frontend.c
1090
CMSG_SPACE(sizeof(int));
sbin/slaacd/frontend.c
191
sndcmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) +
sbin/slaacd/frontend.c
192
CMSG_SPACE(sizeof(int));
sbin/unwind/libunbound/util/netevent.c
104
#ifndef CMSG_SPACE
sbin/unwind/libunbound/util/netevent.c
1247
msg->msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
sbin/unwind/libunbound/util/netevent.c
1266
msg->msg_controllen = CMSG_SPACE(sizeof(struct in_addr));
sbin/unwind/libunbound/util/netevent.c
1279
msg->msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
sbin/unwind/libunbound/util/netevent.c
664
msg.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
sbin/unwind/libunbound/util/netevent.c
680
msg.msg_controllen = CMSG_SPACE(sizeof(struct in_addr));
sbin/unwind/libunbound/util/netevent.c
698
msg.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
sbin/unwind/libunbound/util/netevent.c
715
msg.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
sys/kern/uipc_socket.c
631
clen = CMSG_SPACE(
sys/kern/uipc_socket2.c
1160
if (CMSG_SPACE(size) > MCLBYTES) {
sys/kern/uipc_socket2.c
1167
if (CMSG_SPACE(size) > MLEN) {
sys/kern/uipc_socket2.c
1175
memset(cp, 0, CMSG_SPACE(size));
sys/kern/uipc_socket2.c
1177
m->m_len = CMSG_SPACE(size);
sys/kern/uipc_usrreq.c
1242
neededspace = CMSG_SPACE(nfds * sizeof(struct fdpass)) -
sys/kern/uipc_usrreq.c
1273
control->m_len = CMSG_SPACE(nfds * sizeof(struct fdpass));
usr.bin/dig/lib/isc/unix/socket.c
397
return (CMSG_SPACE(len));
usr.bin/nc/netcat.c
1361
char buf[CMSG_SPACE(sizeof(int))];
usr.bin/sndiod/fdpass.c
130
unsigned char buf[CMSG_SPACE(sizeof(int))];
usr.bin/sndiod/fdpass.c
80
unsigned char buf[CMSG_SPACE(sizeof(int))];
usr.bin/ssh/monitor_fdpass.c
46
char buf[CMSG_SPACE(sizeof(int))];
usr.bin/ssh/monitor_fdpass.c
94
char buf[CMSG_SPACE(sizeof(int))];
usr.sbin/dhcrelay6/bpf.c
226
CMSG_SPACE(sizeof(struct in6_pktinfo))
usr.sbin/dhcrelay6/dhcrelay6.c
920
CMSG_SPACE(sizeof(struct in6_pktinfo))
usr.sbin/eigrpd/packet.c
485
char buf[CMSG_SPACE(CMSG_MAXLEN)];
usr.sbin/ldapd/imsgev.c
117
(int)((CMSG_SPACE(sizeof(int))-CMSG_SPACE(0))/sizeof(int)))
usr.sbin/ldpd/packet.c
125
char buf[CMSG_SPACE(CMSG_MAXLEN)];
usr.sbin/lldpd/lldpd.c
572
uint8_t buf[CMSG_SPACE(sizeof(*daddr))];
usr.sbin/npppd/common/recvfromto.c
200
char buf[CMSG_SPACE(sizeof(u_int32_t))];
usr.sbin/ntpd/client.c
282
char buf[CMSG_SPACE(sizeof(tv))];
usr.sbin/ospf6d/packet.c
120
char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
usr.sbin/ospfd/packet.c
114
char buf[CMSG_SPACE(sizeof(struct sockaddr_dl))];
usr.sbin/rad/frontend.c
1566
CMSG_SPACE(sizeof(struct in6_pktinfo)) +
usr.sbin/rad/frontend.c
1567
CMSG_SPACE(sizeof(int));
usr.sbin/rad/frontend.c
257
sndcmsgbuflen = CMSG_SPACE(sizeof(struct in6_pktinfo)) +
usr.sbin/rad/frontend.c
258
CMSG_SPACE(sizeof(int));
usr.sbin/ripd/packet.c
85
char buf[CMSG_SPACE(sizeof(struct sockaddr_dl))];
usr.sbin/route6d/route6d.c
888
u_char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
usr.sbin/route6d/route6d.c
959
u_char buf[CMSG_SPACE(sizeof(struct in6_pktinfo)) +
usr.sbin/route6d/route6d.c
960
CMSG_SPACE(sizeof(int))];
usr.sbin/snmpd/util.c
43
char inbuf[CMSG_SPACE(sizeof(struct in_addr))];
usr.sbin/snmpd/util.c
44
char in6buf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
usr.sbin/snmpd/util.c
96
char buf[CMSG_SPACE(sizeof(struct sockaddr_storage))];
usr.sbin/syslogd/privsep_fdpass.c
50
char buf[CMSG_SPACE(sizeof(int))];
usr.sbin/syslogd/privsep_fdpass.c
89
char buf[CMSG_SPACE(sizeof(int))];
usr.sbin/tcpdump/privsep_fdpass.c
38
char buf[CMSG_SPACE(sizeof(int))];
usr.sbin/tcpdump/privsep_fdpass.c
76
char buf[CMSG_SPACE(sizeof(int))];
usr.sbin/tftp-proxy/tftp-proxy.c
492
char buf[CMSG_SPACE(sizeof(int))];
usr.sbin/tftp-proxy/tftp-proxy.c
683
char buf[CMSG_SPACE(sizeof(struct sockaddr_storage)) +
usr.sbin/tftp-proxy/tftp-proxy.c
684
CMSG_SPACE(sizeof(in_port_t))];
usr.sbin/tftp-proxy/tftp-proxy.c
786
char buf[CMSG_SPACE(sizeof(int))];
usr.sbin/tftpd/tftpd.c
672
char buf[CMSG_SPACE(sizeof(struct sockaddr_storage))];
usr.sbin/traceroute/traceroute.c
779
rcvcmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) +
usr.sbin/traceroute/traceroute.c
780
CMSG_SPACE(sizeof(int));
usr.sbin/unbound/util/netevent.c
104
#ifndef CMSG_SPACE
usr.sbin/unbound/util/netevent.c
1247
msg->msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
usr.sbin/unbound/util/netevent.c
1266
msg->msg_controllen = CMSG_SPACE(sizeof(struct in_addr));
usr.sbin/unbound/util/netevent.c
1279
msg->msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
usr.sbin/unbound/util/netevent.c
664
msg.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
usr.sbin/unbound/util/netevent.c
680
msg.msg_controllen = CMSG_SPACE(sizeof(struct in_addr));
usr.sbin/unbound/util/netevent.c
698
msg.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
usr.sbin/unbound/util/netevent.c
715
msg.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));