| /openbsd-src/usr.bin/ssh/ |
| H A D | monitor_fdpass.c | 46 } cmsgbuf; in mm_send_fd() local 54 memset(&cmsgbuf, 0, sizeof(cmsgbuf)); in mm_send_fd() 55 msg.msg_control = (caddr_t)&cmsgbuf.buf; in mm_send_fd() 56 msg.msg_controllen = sizeof(cmsgbuf.buf); in mm_send_fd() 94 } cmsgbuf; in mm_receive_fd() local 103 memset(&cmsgbuf, 0, sizeof(cmsgbuf)); in mm_receive_fd() 108 msg.msg_control = &cmsgbuf.buf; in mm_receive_fd() 109 msg.msg_controllen = sizeof(cmsgbuf.buf); in mm_receive_fd()
|
| /openbsd-src/usr.sbin/snmpd/ |
| H A D | util.c | 45 } cmsgbuf; in sendtofrom() local 48 bzero(&cmsgbuf, sizeof(cmsgbuf)); in sendtofrom() 56 msg.msg_control = &cmsgbuf; in sendtofrom() 57 msg.msg_controllen = sizeof(cmsgbuf); in sendtofrom() 62 msg.msg_controllen = sizeof(cmsgbuf.inbuf); in sendtofrom() 70 msg.msg_controllen = sizeof(cmsgbuf.in6buf); in sendtofrom() 97 } cmsgbuf; in recvfromto() local 100 bzero(&cmsgbuf.buf, sizeof(cmsgbuf.buf)); in recvfromto() 108 msg.msg_control = &cmsgbuf.buf; in recvfromto() 109 msg.msg_controllen = sizeof(cmsgbuf.buf); in recvfromto()
|
| /openbsd-src/libexec/snmpd/snmpd_metrics/ |
| H A D | util.c | 48 } cmsgbuf; in sendtofrom() local 51 bzero(&cmsgbuf, sizeof(cmsgbuf)); in sendtofrom() 59 msg.msg_control = &cmsgbuf; in sendtofrom() 60 msg.msg_controllen = sizeof(cmsgbuf); in sendtofrom() 65 msg.msg_controllen = sizeof(cmsgbuf.inbuf); in sendtofrom() 73 msg.msg_controllen = sizeof(cmsgbuf.in6buf); in sendtofrom() 100 } cmsgbuf; in recvfromto() local 103 bzero(&cmsgbuf.buf, sizeof(cmsgbuf.buf)); in recvfromto() 111 msg.msg_control = &cmsgbuf.buf; in recvfromto() 112 msg.msg_controllen = sizeof(cmsgbuf.buf); in recvfromto()
|
| /openbsd-src/sbin/isakmpd/ |
| H A D | monitor_fdpass.c | 45 } cmsgbuf; in mm_send_fd() local 52 msg.msg_control = (caddr_t)&cmsgbuf.buf; in mm_send_fd() 53 msg.msg_controllen = sizeof(cmsgbuf.buf); in mm_send_fd() 83 } cmsgbuf; in mm_receive_fd() local 95 msg.msg_control = &cmsgbuf.buf; in mm_receive_fd() 96 msg.msg_controllen = sizeof(cmsgbuf.buf); in mm_receive_fd()
|
| /openbsd-src/libexec/ftpd/ |
| H A D | monitor_fdpass.c | 38 } cmsgbuf; in send_fd() local 47 msg.msg_control = (caddr_t)&cmsgbuf.buf; in send_fd() 48 msg.msg_controllen = sizeof(cmsgbuf.buf); in send_fd() 76 } cmsgbuf; in recv_fd() local 88 msg.msg_control = &cmsgbuf.buf; in recv_fd() 89 msg.msg_controllen = sizeof(cmsgbuf.buf); in recv_fd()
|
| /openbsd-src/usr.sbin/tcpdump/ |
| H A D | privsep_fdpass.c | 39 } cmsgbuf; in send_fd() local 48 msg.msg_control = (caddr_t)&cmsgbuf.buf; in send_fd() 49 msg.msg_controllen = sizeof(cmsgbuf.buf); in send_fd() 77 } cmsgbuf; in receive_fd() local 89 msg.msg_control = &cmsgbuf.buf; in receive_fd() 90 msg.msg_controllen = sizeof(cmsgbuf.buf); in receive_fd()
|
| /openbsd-src/sbin/pflogd/ |
| H A D | privsep_fdpass.c | 56 } cmsgbuf; in send_fd() local 65 msg.msg_control = (caddr_t)&cmsgbuf.buf; in send_fd() 66 msg.msg_controllen = sizeof(cmsgbuf.buf); in send_fd() 95 } cmsgbuf; in receive_fd() local 107 msg.msg_control = &cmsgbuf.buf; in receive_fd() 108 msg.msg_controllen = sizeof(cmsgbuf.buf); in receive_fd()
|
| /openbsd-src/usr.sbin/syslogd/ |
| H A D | privsep_fdpass.c | 51 } cmsgbuf; in send_fd() local 60 msg.msg_control = (caddr_t)&cmsgbuf.buf; in send_fd() 61 msg.msg_controllen = sizeof(cmsgbuf.buf); in send_fd() 90 } cmsgbuf; in receive_fd() local 102 msg.msg_control = &cmsgbuf.buf; in receive_fd() 103 msg.msg_controllen = sizeof(cmsgbuf.buf); in receive_fd()
|
| /openbsd-src/regress/usr.sbin/ospfd/ |
| H A D | PassFd.xs | 36 } cmsgbuf; variable 42 msg.msg_control = &cmsgbuf.buf; 43 msg.msg_controllen = sizeof(cmsgbuf.buf); 67 } cmsgbuf; variable 72 msg.msg_control = &cmsgbuf.buf; 73 msg.msg_controllen = sizeof(cmsgbuf.buf);
|
| H A D | opentap.c | 51 } cmsgbuf; in main() local 68 msg.msg_control = &cmsgbuf.buf; in main() 69 msg.msg_controllen = sizeof(cmsgbuf.buf); in main()
|
| /openbsd-src/usr.sbin/npppd/common/ |
| H A D | recvfromto.c | 55 u_char cmsgbuf[256]; in recvfromto_nat_t() local 71 memset(cmsgbuf, 0, sizeof(cmsgbuf)); in recvfromto_nat_t() 72 cm = (struct cmsghdr *)cmsgbuf; in recvfromto_nat_t() 74 m.msg_controllen = sizeof(cmsgbuf); in recvfromto_nat_t() 201 } cmsgbuf; in sendto_nat_t() local 206 memset(&cmsgbuf, 0, sizeof(cmsgbuf)); in sendto_nat_t() 211 msg.msg_control = (caddr_t)&cmsgbuf.buf; in sendto_nat_t() 212 msg.msg_controllen = sizeof(cmsgbuf.buf); in sendto_nat_t()
|
| /openbsd-src/regress/sys/kern/kqueue/ |
| H A D | kqueue-fdpass.c | 29 } cmsgbuf; in do_fdpass() local 51 memset(&cmsgbuf.buf, 0, sizeof cmsgbuf.buf); in do_fdpass() 53 msg.msg_control = &cmsgbuf.buf; in do_fdpass() 54 msg.msg_controllen = sizeof(cmsgbuf); in do_fdpass()
|
| /openbsd-src/regress/sys/kern/pledge/ioctl/ |
| H A D | unfdpass.c | 76 } cmsgbuf; in main() local 145 msg.msg_control = &cmsgbuf.buf; in main() 146 msg.msg_controllen = sizeof(cmsgbuf.buf); in main() 216 } cmsgbuf; in child() local 220 msg.msg_control = &cmsgbuf.buf; in child() 221 msg.msg_controllen = sizeof(cmsgbuf.buf); in child()
|
| /openbsd-src/regress/sys/kern/pledge/sendrecvfd/ |
| H A D | sendrecvfd.c | 52 } cmsgbuf; in do_receiver() local 72 msg.msg_control = &cmsgbuf.buf; in do_receiver() 73 msg.msg_controllen = sizeof(cmsgbuf.buf); in do_receiver() 105 } cmsgbuf; in do_sender() local 125 msg.msg_control = &cmsgbuf.buf; in do_sender() 126 msg.msg_controllen = sizeof(cmsgbuf.buf); in do_sender()
|
| /openbsd-src/regress/sys/kern/cmsgsize/ |
| H A D | cmsgsize.c | 105 char cmsgbuf[CMSG_SPACE(sizeof(struct in_addr))]; in test_cmsgsize() local 132 memset(cmsgbuf, 0, sizeof(cmsgbuf)); in test_cmsgsize() 133 msg.msg_control = cmsgbuf; in test_cmsgsize() 134 msg.msg_controllen = sizeof(cmsgbuf); in test_cmsgsize()
|
| /openbsd-src/regress/sys/kern/unfdpass/ |
| H A D | unfdpass.c | 72 } cmsgbuf; in main() local 185 msg.msg_control = &cmsgbuf.buf; in main() 186 msg.msg_controllen = sizeof(cmsgbuf.buf); in main() 264 char *cmsgbuf; in child() 285 if ((cmsgbuf = malloc(len)) == NULL) in child() 289 msg.msg_control = cmsgbuf; in child() 265 char *cmsgbuf; child() local
|
| /openbsd-src/sbin/iked/ |
| H A D | util.c | 299 } cmsgbuf; in sendtofrom() local 302 bzero(&cmsgbuf, sizeof(cmsgbuf)); in sendtofrom() 310 msg.msg_control = &cmsgbuf; in sendtofrom() 311 msg.msg_controllen = sizeof(cmsgbuf); in sendtofrom() 316 msg.msg_controllen = sizeof(cmsgbuf.inbuf); in sendtofrom() 324 msg.msg_controllen = sizeof(cmsgbuf.in6buf); in sendtofrom() 351 } cmsgbuf; in recvfromto() local 354 bzero(&cmsgbuf.buf, sizeof(cmsgbuf.buf)); in recvfromto() 362 msg.msg_control = &cmsgbuf.buf; in recvfromto() 363 msg.msg_controllen = sizeof(cmsgbuf.buf); in recvfromto()
|
| /openbsd-src/regress/sys/netinet6/pktinfo_addr/ |
| H A D | runtest.c | 171 } cmsgbuf; in udp6_override() local 174 bzero(&cmsgbuf, sizeof(cmsgbuf)); in udp6_override() 212 msg.msg_control = &cmsgbuf.buf; in udp6_override() 213 msg.msg_controllen = sizeof(cmsgbuf.buf); in udp6_override()
|
| /openbsd-src/regress/sys/kern/pledge/filedescriptor/ |
| H A D | pass.c | 37 } cmsgbuf; in fdops() local 45 msg.msg_control = &cmsgbuf.buf; in fdops() 46 msg.msg_controllen = sizeof(cmsgbuf.buf); in fdops()
|
| /openbsd-src/regress/sys/kern/recvwait/ |
| H A D | mcontrol-stream.c | 37 } cmsgbuf; in main() local 70 msg.msg_control = &cmsgbuf.buf; in main() 71 msg.msg_controllen = sizeof(cmsgbuf.buf); in main()
|
| /openbsd-src/usr.sbin/rpki-client/ |
| H A D | io.c | 235 } cmsgbuf; io_buf_recvfd() local
|
| /openbsd-src/usr.bin/sndiod/ |
| H A D | fdpass.c | 81 } cmsgbuf; in fdpass_send() 94 msg.msg_control = &cmsgbuf.buf; in fdpass_send() 95 msg.msg_controllen = sizeof(cmsgbuf.buf); in fdpass_send() 131 } cmsgbuf; in fdpass_send() 138 msg.msg_control = &cmsgbuf.buf; in fdpass_send() 139 msg.msg_controllen = sizeof(cmsgbuf.buf); in fdpass_send() 87 } cmsgbuf; fdpass_send() local 153 } cmsgbuf; fdpass_recv() local
|
| /openbsd-src/usr.sbin/dhcrelay6/ |
| H A D | bpf.c | 225 uint8_t cmsgbuf[ in send_packet_layer3() local 246 memset(cmsgbuf, 0, sizeof(cmsgbuf)); in send_packet_layer3() 247 msg.msg_control = cmsgbuf; in send_packet_layer3() 248 msg.msg_controllen = sizeof(cmsgbuf); in send_packet_layer3()
|
| /openbsd-src/regress/sys/netinet/sendsrcaddr/ |
| H A D | runtest.c | 205 unsigned char cmsgbuf[CMSGBUF_SP]; in udp_send() local 216 bzero(&cmsgbuf, sizeof(cmsgbuf)); in udp_send() 217 msg.msg_control = &cmsgbuf; in udp_send()
|
| /openbsd-src/lib/libutil/ |
| H A D | imsg.c | 60 } cmsgbuf; imsg_read() local
|