Home
last modified time | relevance | path

Searched refs:cmsgbuf (Results 1 – 11 of 11) sorted by relevance

/external/openssh/
Dmonitor_fdpass.c60 } 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/
Dmultiprocessing.c113 } 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/
Dsockmisc.c401 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/
Dtcp_inq.c101 char cmsgbuf[CMSG_SIZE]; in main() local
153 msg.msg_control = cmsgbuf; in main()
154 msg.msg_controllen = sizeof(cmsgbuf); in main()
Dnettest.c640 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()
Dmsg_zerocopy.c362 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/
Duser_recv_thread.c448 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/
Dping6.c160 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/
Dnetcat.c1007 } 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/
Dlibnetlink.c698 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/
Dtcp_posix.cc721 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()