Home
last modified time | relevance | path

Searched refs:CMSG_SPACE (Results 1 – 25 of 57) sorted by relevance

123

/openbsd/regress/sys/kern/unixsockets/
H A Dungc.c33 char control[CMSG_SPACE(sizeof(int) * 2)];
62 msgh.msg_controllen = CMSG_SPACE(sizeof(int)); in main()
115 msgh.msg_controllen = CMSG_SPACE(sizeof(int) * 2); in main()
H A Dunfdpassfail.c34 char control[CMSG_SPACE(sizeof(int)*2)];
/openbsd/sbin/isakmpd/
H A Dmonitor_fdpass.c44 char buf[CMSG_SPACE(sizeof(int))]; in mm_send_fd()
82 char buf[CMSG_SPACE(sizeof(int))]; in mm_receive_fd()
/openbsd/usr.sbin/syslogd/
H A Dprivsep_fdpass.c50 char buf[CMSG_SPACE(sizeof(int))]; in send_fd()
89 char buf[CMSG_SPACE(sizeof(int))]; in receive_fd()
/openbsd/usr.sbin/tcpdump/
H A Dprivsep_fdpass.c38 char buf[CMSG_SPACE(sizeof(int))]; in send_fd()
76 char buf[CMSG_SPACE(sizeof(int))]; in receive_fd()
/openbsd/libexec/ftpd/
H A Dmonitor_fdpass.c37 char buf[CMSG_SPACE(sizeof(int))]; in send_fd()
75 char buf[CMSG_SPACE(sizeof(int))]; in recv_fd()
/openbsd/sbin/pflogd/
H A Dprivsep_fdpass.c55 char buf[CMSG_SPACE(sizeof(int))]; in send_fd()
94 char buf[CMSG_SPACE(sizeof(int))]; in receive_fd()
/openbsd/regress/usr.sbin/ospfd/
H A DPassFd.xs35 unsigned char buf[CMSG_SPACE(sizeof(int))];
66 unsigned char buf[CMSG_SPACE(sizeof(int))];
H A Dopentap.c50 unsigned char buf[CMSG_SPACE(sizeof(int))]; in main()
/openbsd/usr.sbin/snmpd/
H A Dutil.c43 char inbuf[CMSG_SPACE(sizeof(struct in_addr))]; in sendtofrom()
44 char in6buf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in sendtofrom()
96 char buf[CMSG_SPACE(sizeof(struct sockaddr_storage))]; in recvfromto()
/openbsd/usr.bin/ssh/
H A Dmonitor_fdpass.c45 char buf[CMSG_SPACE(sizeof(int))]; in mm_send_fd()
93 char buf[CMSG_SPACE(sizeof(int))]; in mm_receive_fd()
/openbsd/libexec/snmpd/snmpd_metrics/
H A Dutil.c46 char inbuf[CMSG_SPACE(sizeof(struct in_addr))]; in sendtofrom()
47 char in6buf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in sendtofrom()
99 char buf[CMSG_SPACE(sizeof(struct sockaddr_storage))]; in recvfromto()
/openbsd/regress/sys/kern/pledge/ioctl/
H A Dunfdpass.c75 char buf[CMSG_SPACE(sizeof(int))]; in main()
215 char buf[CMSG_SPACE(sizeof(int))]; in child()
/openbsd/regress/sys/netinet/sendsrcaddr/
H A Druntest.c201 #define CMSGSP_SADDR CMSG_SPACE(sizeof(u_int32_t)) in udp_send()
202 #define CMSGSP_HOPLIM CMSG_SPACE(sizeof(int)) in udp_send()
203 #define CMSGSP_BOGUS CMSG_SPACE(12) in udp_send()
/openbsd/regress/sys/kern/pledge/sendrecvfd/
H A Dsendrecvfd.c51 unsigned char buf[CMSG_SPACE(sizeof(int))]; in do_receiver()
104 unsigned char buf[CMSG_SPACE(sizeof(int))]; in do_sender()
/openbsd/regress/lib/libc/sys/
H A Dt_kevent.c92 msg = malloc(CMSG_SPACE(sizeof(int))); in ATF_TC_BODY()
98 m.msg_controllen = CMSG_SPACE(sizeof(int)); in ATF_TC_BODY()
/openbsd/regress/sys/kern/unfdpass/
H A Dunfdpass.c71 char buf[CMSG_SPACE(sizeof(int) * 3)]; in main()
284 len = CMSG_SPACE(sizeof(int) * nfds); in child()
/openbsd/lib/libutil/
H A Dimsg.c59 char buf[CMSG_SPACE(sizeof(int) * 1)]; in imsg_read()
81 (int)((CMSG_SPACE(sizeof(int))-CMSG_SPACE(0))/sizeof(int)) in imsg_read()
/openbsd/regress/sys/kern/kqueue/
H A Dkqueue-fdpass.c28 char buf[CMSG_SPACE(sizeof(int))]; in do_fdpass()
/openbsd/regress/sys/kern/pledge/filedescriptor/
H A Dpass.c36 unsigned char buf[CMSG_SPACE(sizeof(int))]; in fdops()
/openbsd/regress/sys/kern/recvwait/
H A Dmcontrol-stream.c36 unsigned char buf[CMSG_SPACE(sizeof(int))]; in main()
/openbsd/usr.bin/sndiod/
H A Dfdpass.c86 unsigned char buf[CMSG_SPACE(sizeof(int))]; in fdpass_send()
152 unsigned char buf[CMSG_SPACE(sizeof(int))]; in fdpass_recv()
/openbsd/sbin/iked/
H A Dutil.c297 char inbuf[CMSG_SPACE(sizeof(struct in_addr))]; in sendtofrom()
298 char in6buf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in sendtofrom()
350 char buf[CMSG_SPACE(sizeof(struct sockaddr_storage))]; in recvfromto()
/openbsd/regress/sys/kern/cmsgsize/
H A Dcmsgsize.c105 char cmsgbuf[CMSG_SPACE(sizeof(struct in_addr))]; in test_cmsgsize()
/openbsd/usr.sbin/tftp-proxy/
H A Dtftp-proxy.c492 char buf[CMSG_SPACE(sizeof(int))]; in privproc_push()
683 char buf[CMSG_SPACE(sizeof(struct sockaddr_storage)) + in proxy_recv()
684 CMSG_SPACE(sizeof(in_port_t))]; in proxy_recv()
786 char buf[CMSG_SPACE(sizeof(int))]; in unprivproc_pop()

123