/external/openssh/ |
D | monitor_fdpass.c | 60 } cmsgbuf; in mm_send_fd() local 73 memset(&cmsgbuf, 0, sizeof(cmsgbuf)); in mm_send_fd() 74 msg.msg_control = (caddr_t)&cmsgbuf.buf; in mm_send_fd() 75 msg.msg_controllen = sizeof(cmsgbuf.buf); in mm_send_fd() 121 } cmsgbuf; in mm_receive_fd() local 139 memset(&cmsgbuf, 0, sizeof(cmsgbuf)); in mm_receive_fd() 140 msg.msg_control = &cmsgbuf.buf; in mm_receive_fd() 141 msg.msg_controllen = sizeof(cmsgbuf.buf); in mm_receive_fd()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 113 } cmsgbuf; in multiprocessing_sendfd() local 122 msg.msg_control = &cmsgbuf.buf; in multiprocessing_sendfd() 123 msg.msg_controllen = sizeof(cmsgbuf.buf); in multiprocessing_sendfd() 153 } cmsgbuf; in multiprocessing_recvfd() local 162 msg.msg_control = &cmsgbuf.buf; in multiprocessing_recvfd() 163 msg.msg_controllen = sizeof(cmsgbuf.buf); in multiprocessing_recvfd()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 401 u_char cmsgbuf[256]; local 423 memset(cmsgbuf, 0, sizeof(cmsgbuf)); 424 cm = (struct cmsghdr *)cmsgbuf; 426 m.msg_controllen = sizeof(cmsgbuf); 574 u_char cmsgbuf[256]; local 602 memset(cmsgbuf, 0, sizeof(cmsgbuf)); 603 cm = (struct cmsghdr *)cmsgbuf; 646 u_char cmsgbuf[256]; local 662 memset(cmsgbuf, 0, sizeof(cmsgbuf)); 663 cm = (struct cmsghdr *)cmsgbuf;
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | tcp_inq.c | 101 char cmsgbuf[CMSG_SIZE]; in main() local 153 msg.msg_control = cmsgbuf; in main() 154 msg.msg_controllen = sizeof(cmsgbuf); in main()
|
D | nettest.c | 640 unsigned char cmsgbuf[64]; in send_msg_cmsg() local 653 memset(cmsgbuf, 0, sizeof(cmsgbuf)); in send_msg_cmsg() 654 cm = (struct cmsghdr *)cmsgbuf; in send_msg_cmsg() 732 unsigned char cmsgbuf[256]; in socket_read_dgram() local 733 struct cmsghdr *cm = (struct cmsghdr *)cmsgbuf; in socket_read_dgram() 741 memset(cmsgbuf, 0, sizeof(cmsgbuf)); in socket_read_dgram() 743 m.msg_controllen = sizeof(cmsgbuf); in socket_read_dgram()
|
D | msg_zerocopy.c | 362 char cmsgbuf[CMSG_SPACE(sizeof(struct rds_zcopy_cookies))]; in do_recvmsg_completion() local 369 msg.msg_control = cmsgbuf; in do_recvmsg_completion() 370 msg.msg_controllen = sizeof(cmsgbuf); in do_recvmsg_completion()
|
/external/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 448 char cmsgbuf[CMSG_SPACE(sizeof (struct in6_pktinfo))]; in recv_function_raw6() local 523 memset(cmsgbuf, 0, CMSG_SPACE(sizeof (struct in6_pktinfo))); in recv_function_raw6() 528 msg.msg_control = (void *)cmsgbuf; in recv_function_raw6() 642 char cmsgbuf[CMSG_SPACE(sizeof(struct in_pktinfo))]; in recv_function_udp() local 644 char cmsgbuf[CMSG_SPACE(sizeof(struct in_addr))]; in recv_function_udp() local 690 memset(cmsgbuf, 0, sizeof(cmsgbuf)); in recv_function_udp() 697 msg.msg_control = (void *)cmsgbuf; in recv_function_udp() 698 msg.msg_controllen = sizeof(cmsgbuf); in recv_function_udp() 847 char cmsgbuf[CMSG_SPACE(sizeof (struct in6_pktinfo))]; in recv_function_udp6() local 892 memset(cmsgbuf, 0, CMSG_SPACE(sizeof (struct in6_pktinfo))); in recv_function_udp6() [all …]
|
/external/iputils/ |
D | ping6.c | 160 static unsigned char cmsgbuf[4096]; variable 840 if (cmsglen + CMSG_SPACE(space) > sizeof(cmsgbuf)) { in main() 845 if (space + cmsglen > sizeof(cmsgbuf)) { in main() 850 srcrt = (struct cmsghdr*)(cmsgbuf+cmsglen); in main() 1051 cmsg = (struct cmsghdr*)(cmsgbuf+cmsglen); in main() 1237 cmsglen = (char*)srcrt - (char*)cmsgbuf; in main() 1433 mhdr.msg_control = cmsgbuf; in send_probe()
|
/external/openssh/regress/ |
D | netcat.c | 1007 } cmsgbuf; in fdpass() local 1020 memset(&cmsgbuf, 0, sizeof(cmsgbuf)); in fdpass() 1021 msg.msg_control = (caddr_t)&cmsgbuf.buf; in fdpass() 1022 msg.msg_controllen = sizeof(cmsgbuf.buf); in fdpass()
|
/external/iproute2/lib/ |
D | libnetlink.c | 698 char cmsgbuf[BUFSIZ]; in rtnl_listen() local 701 msg.msg_control = &cmsgbuf; in rtnl_listen() 702 msg.msg_controllen = sizeof(cmsgbuf); in rtnl_listen()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | tcp_posix.cc | 721 char cmsgbuf[cmsg_alloc_space]; in tcp_do_read() local 738 msg.msg_control = cmsgbuf; in tcp_do_read() 739 msg.msg_controllen = sizeof(cmsgbuf); in tcp_do_read()
|