/external/strace/tests/ |
D | msg_control.c | 75 int *fdp = (int *) CMSG_DATA(cmsg); in print_fds() 116 memcpy(CMSG_DATA(cmsg), src, src_len - CMSG_LEN(0)); in test_scm_rights1() 168 memcpy(CMSG_DATA(cmsg[0]), src[0], cmsg_len[0] - CMSG_LEN(0)); in test_scm_rights2() 180 memcpy(CMSG_DATA(cmsg[1]), src[1], src1_len - CMSG_LEN(0)); in test_scm_rights2() 215 int *fdp = (int *) CMSG_DATA(cmsg); in test_scm_rights3() 242 struct timeval *tv = (struct timeval *) CMSG_DATA(cmsg); in test_scm_timestamp() 287 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); in test_scm_timestampns() 333 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); in test_scm_timestamping() 386 printf(", cmsg_data=\"%.*s\"", n, CMSG_DATA(cmsg)); in print_security() 413 memcpy(CMSG_DATA(cmsg), src, src_len - CMSG_LEN(0)); in test_scm_security() [all …]
|
D | inet-cmsg.c | 49 const unsigned int *ttl = (const unsigned int *) CMSG_DATA(c); in print_ttl() 57 const uint8_t *tos = (const uint8_t *) CMSG_DATA(c); in print_tos() 65 const unsigned char *opts = (const unsigned char *) CMSG_DATA(c); in print_opts() 83 (const struct sockaddr_in *) CMSG_DATA(c); in print_origdstaddr()
|
/external/strace/tests-m32/ |
D | msg_control.c | 75 int *fdp = (int *) CMSG_DATA(cmsg); in print_fds() 116 memcpy(CMSG_DATA(cmsg), src, src_len - CMSG_LEN(0)); in test_scm_rights1() 168 memcpy(CMSG_DATA(cmsg[0]), src[0], cmsg_len[0] - CMSG_LEN(0)); in test_scm_rights2() 180 memcpy(CMSG_DATA(cmsg[1]), src[1], src1_len - CMSG_LEN(0)); in test_scm_rights2() 215 int *fdp = (int *) CMSG_DATA(cmsg); in test_scm_rights3() 242 struct timeval *tv = (struct timeval *) CMSG_DATA(cmsg); in test_scm_timestamp() 287 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); in test_scm_timestampns() 333 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); in test_scm_timestamping() 386 printf(", cmsg_data=\"%.*s\"", n, CMSG_DATA(cmsg)); in print_security() 413 memcpy(CMSG_DATA(cmsg), src, src_len - CMSG_LEN(0)); in test_scm_security() [all …]
|
D | inet-cmsg.c | 49 const unsigned int *ttl = (const unsigned int *) CMSG_DATA(c); in print_ttl() 57 const uint8_t *tos = (const uint8_t *) CMSG_DATA(c); in print_tos() 65 const unsigned char *opts = (const unsigned char *) CMSG_DATA(c); in print_opts() 83 (const struct sockaddr_in *) CMSG_DATA(c); in print_origdstaddr()
|
/external/strace/tests-mx32/ |
D | msg_control.c | 75 int *fdp = (int *) CMSG_DATA(cmsg); in print_fds() 116 memcpy(CMSG_DATA(cmsg), src, src_len - CMSG_LEN(0)); in test_scm_rights1() 168 memcpy(CMSG_DATA(cmsg[0]), src[0], cmsg_len[0] - CMSG_LEN(0)); in test_scm_rights2() 180 memcpy(CMSG_DATA(cmsg[1]), src[1], src1_len - CMSG_LEN(0)); in test_scm_rights2() 215 int *fdp = (int *) CMSG_DATA(cmsg); in test_scm_rights3() 242 struct timeval *tv = (struct timeval *) CMSG_DATA(cmsg); in test_scm_timestamp() 287 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); in test_scm_timestampns() 333 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); in test_scm_timestamping() 386 printf(", cmsg_data=\"%.*s\"", n, CMSG_DATA(cmsg)); in print_security() 413 memcpy(CMSG_DATA(cmsg), src, src_len - CMSG_LEN(0)); in test_scm_security() [all …]
|
D | inet-cmsg.c | 49 const unsigned int *ttl = (const unsigned int *) CMSG_DATA(c); in print_ttl() 57 const uint8_t *tos = (const uint8_t *) CMSG_DATA(c); in print_tos() 65 const unsigned char *opts = (const unsigned char *) CMSG_DATA(c); in print_opts() 83 (const struct sockaddr_in *) CMSG_DATA(c); in print_origdstaddr()
|
/external/valgrind/none/tests/ |
D | fdleak_cmsg.c | 71 ((int *)CMSG_DATA(cmsg))[0] = fd1; in server() 72 ((int *)CMSG_DATA(cmsg))[1] = fd2; in server() 135 fd1 = ((int *)CMSG_DATA(cmsg))[0]; in client() 136 fd2 = ((int *)CMSG_DATA(cmsg))[1]; in client()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 235 (((uint8_t*)CMSG_DATA(hdr)) - (uint8_t*)hdr); in ClientEvent() 242 close(reinterpret_cast<int*>(CMSG_DATA(hdr))[i]); in ClientEvent() 245 signal_fd = reinterpret_cast<int*>(CMSG_DATA(hdr))[0]; in ClientEvent() 249 reinterpret_cast<struct ucred*>(CMSG_DATA(hdr)); in ClientEvent()
|
D | crash_generation_client.cc | 72 int* p = reinterpret_cast<int*>(CMSG_DATA(hdr)); in RequestDump()
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | timestamping.c | 182 (struct timeval *)CMSG_DATA(cmsg); in printpacket() 190 (struct timespec *)CMSG_DATA(cmsg); in printpacket() 198 (struct timespec *)CMSG_DATA(cmsg); in printpacket() 221 (struct sock_extended_err *)CMSG_DATA(cmsg); in printpacket() 241 (struct in_pktinfo *)CMSG_DATA(cmsg); in printpacket()
|
D | txtimestamp.c | 191 tss = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg() 196 serr = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg() 206 struct in_pktinfo *info = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg() 211 struct in6_pktinfo *info6 = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
|
/external/libmojo/mojo/edk/embedder/ |
D | platform_channel_utils_posix.cc | 110 reinterpret_cast<int*>(CMSG_DATA(cmsg))[i] = platform_handles[i].handle; in PlatformChannelSendmsgWithHandles() 137 reinterpret_cast<int*>(CMSG_DATA(cmsg))[i] = handles[i].handle; in PlatformChannelSendHandles() 185 const int* fds = reinterpret_cast<int*>(CMSG_DATA(cmsg)); in PlatformChannelRecvmsg()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 592 tmp = (struct in_pktinfo *) CMSG_DATA(cmptr); in recvfrom_flags() 607 sin->sin_addr = *(struct in_addr*)CMSG_DATA(cmptr); in recvfrom_flags() 616 struct sockaddr_dl *sdl = (struct sockaddr_dl *) CMSG_DATA(cmptr); in recvfrom_flags() 636 *ttl = *(u_char*)CMSG_DATA(cmptr); in recvfrom_flags() 641 *ttl = *(int*)CMSG_DATA(cmptr); in recvfrom_flags() 650 struct in6_pktinfo *ip6_info = (struct in6_pktinfo*)CMSG_DATA(cmptr); in recvfrom_flags() 668 *ttl = *(int*)CMSG_DATA(cmptr); in recvfrom_flags()
|
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux.cc | 71 memcpy(CMSG_DATA(cmsg), &fds[0], sizeof(int) * fds.size()); in SendMsg() 145 wire_fds = reinterpret_cast<int*>(CMSG_DATA(cmsg)); in RecvMsgWithFlags() 155 pid = reinterpret_cast<struct ucred*>(CMSG_DATA(cmsg))->pid; in RecvMsgWithFlags()
|
/external/compiler-rt/test/msan/Linux/ |
D | cmsghdr.cc | 62 memcpy(CMSG_DATA(cmsg), myfds, kNumFds * sizeof(int)); in main() 82 memcpy(CMSG_DATA(cmsg), &cred, sizeof(struct ucred)); in main()
|
/external/ltp/utils/sctp/lib/ |
D | sendmsg.c | 59 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in sctp_sendmsg() 102 memcpy(CMSG_DATA(cmsg), sinfo, sizeof(struct sctp_sndrcvinfo)); in sctp_send()
|
D | recvmsg.c | 98 memcpy(sinfo, CMSG_DATA(cmsg), sizeof(struct sctp_sndrcvinfo)); in sctp_recvmsg()
|
/external/dnsmasq/src/ |
D | forward.c | 68 struct in_pktinfo *pkt = (struct in_pktinfo *)CMSG_DATA(cmptr); in send_from() 75 struct in_addr *a = (struct in_addr *)CMSG_DATA(cmptr); in send_from() 85 struct in6_pktinfo *pkt = (struct in6_pktinfo *)CMSG_DATA(cmptr); in send_from() 654 dst_addr_4 = dst_addr.addr.addr4 = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst; in receive_query() 655 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in receive_query() 662 dst_addr_4 = dst_addr.addr.addr4 = *((struct in_addr *)CMSG_DATA(cmptr)); in receive_query() 665 if_index = *((unsigned int *)CMSG_DATA(cmptr)); in receive_query() 667 if_index = ((struct sockaddr_dl *)CMSG_DATA(cmptr))->sdl_index; in receive_query() 678 dst_addr.addr.addr6 = ((struct in6_pktinfo *)CMSG_DATA(cmptr))->ipi6_addr; in receive_query() 679 if_index =((struct in6_pktinfo *)CMSG_DATA(cmptr))->ipi6_ifindex; in receive_query()
|
/external/openssh/ |
D | monitor_fdpass.c | 80 *(int *)CMSG_DATA(cmsg) = fd; in mm_send_fd() 180 fd = (*(int *)CMSG_DATA(cmsg)); in mm_receive_fd()
|
/external/iputils/ |
D | tracepath6.c | 177 e = (struct sock_extended_err *)CMSG_DATA(cmsg); in recverr() 183 memcpy(&rethops, CMSG_DATA(cmsg), sizeof(rethops)); in recverr() 192 e = (struct sock_extended_err *)CMSG_DATA(cmsg); in recverr() 195 rethops = *(__u8*)CMSG_DATA(cmsg); in recverr()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_assoc_shutdown.c | 130 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 194 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
|
D | test_assoc_abort.c | 130 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 193 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
|
D | test_inaddr_any.c | 162 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main() 210 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 131 * (int *) CMSG_DATA(cmsg) = fd; in multiprocessing_sendfd() 191 fd = * (int *) CMSG_DATA(cmsg); in multiprocessing_recvfd()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 448 pi = (struct in6_pktinfo *)(CMSG_DATA(cm)); 474 struct in_pktinfo *pi = (struct in_pktinfo *)(CMSG_DATA(cm)); 497 memcpy(&sin6->sin6_addr, CMSG_DATA(cm), 515 memcpy(&sin->sin_addr, CMSG_DATA(cm), 610 pi = (struct in6_pktinfo *)CMSG_DATA(cm); 670 pi = (struct in_pktinfo *)CMSG_DATA(cm);
|