Home
last modified time | relevance | path

Searched refs:msg_hdr (Results 1 – 23 of 23) sorted by relevance

/external/strace/
Dfetch_struct_mmsghdr.c58 p_native->msg_hdr.msg_name = (void *) (unsigned long) in MPERS_PRINTER_DECL()
59 v_compat.msg_hdr.msg_name; in MPERS_PRINTER_DECL()
61 p_native->msg_hdr.msg_namelen = in MPERS_PRINTER_DECL()
62 v_compat.msg_hdr.msg_namelen; in MPERS_PRINTER_DECL()
64 p_native->msg_hdr.msg_iov = (void *) (unsigned long) in MPERS_PRINTER_DECL()
65 v_compat.msg_hdr.msg_iov; in MPERS_PRINTER_DECL()
67 p_native->msg_hdr.msg_iovlen = in MPERS_PRINTER_DECL()
68 v_compat.msg_hdr.msg_iovlen; in MPERS_PRINTER_DECL()
70 p_native->msg_hdr.msg_control = (void *) (unsigned long) in MPERS_PRINTER_DECL()
71 v_compat.msg_hdr.msg_control; in MPERS_PRINTER_DECL()
[all …]
Dmmsghdr.c72 print_struct_msghdr(tcp, &mmsg->msg_hdr, c->p_user_msg_namelen, in print_struct_mmsghdr()
122 data->namelen[i] = mh.msg_hdr.msg_namelen; in save_mmsgvec_namelen()
165 (kernel_ulong_t) mmsg.msg_hdr.msg_iovlen, i); in dumpiov_in_mmsghdr()
166 dumpiov_upto(tcp, mmsg.msg_hdr.msg_iovlen, in dumpiov_in_mmsghdr()
167 ptr_to_kulong(mmsg.msg_hdr.msg_iov), in dumpiov_in_mmsghdr()
Dmsghdr.h9 struct msghdr msg_hdr; member
DChangeLog20189 * msghdr.c (decode_mmsghdr): Print names of msg_hdr and msg_len fields.
/external/strace/tests-m32/
Dmmsg_name.c106 send_mh[i].msg_hdr.msg_iov = &send_iov[i]; in test_mmsg_name()
107 send_mh[i].msg_hdr.msg_iovlen = 1; in test_mmsg_name()
108 send_mh[i].msg_hdr.msg_name = &send_addr[i]; in test_mmsg_name()
109 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name()
110 send_mh[i].msg_hdr.msg_control = 0; in test_mmsg_name()
111 send_mh[i].msg_hdr.msg_controllen = 0; in test_mmsg_name()
112 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
131 print_msghdr(&send_mh[i].msg_hdr, i + 1); in test_mmsg_name()
139 send_mh[i].msg_hdr.msg_name = 0; in test_mmsg_name()
140 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name()
[all …]
Dmmsg.c80 .msg_hdr = { in main()
85 .msg_hdr = { in main()
155 .msg_hdr = { in main()
160 .msg_hdr = { in main()
Dmmsg-silent.c45 .msg_hdr = { in main()
Drecvmmsg-timeout.c49 .msg_hdr = { in main()
/external/strace/tests/
Dmmsg_name.c106 send_mh[i].msg_hdr.msg_iov = &send_iov[i]; in test_mmsg_name()
107 send_mh[i].msg_hdr.msg_iovlen = 1; in test_mmsg_name()
108 send_mh[i].msg_hdr.msg_name = &send_addr[i]; in test_mmsg_name()
109 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name()
110 send_mh[i].msg_hdr.msg_control = 0; in test_mmsg_name()
111 send_mh[i].msg_hdr.msg_controllen = 0; in test_mmsg_name()
112 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
131 print_msghdr(&send_mh[i].msg_hdr, i + 1); in test_mmsg_name()
139 send_mh[i].msg_hdr.msg_name = 0; in test_mmsg_name()
140 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name()
[all …]
Dmmsg.c80 .msg_hdr = { in main()
85 .msg_hdr = { in main()
155 .msg_hdr = { in main()
160 .msg_hdr = { in main()
Dmmsg-silent.c45 .msg_hdr = { in main()
Drecvmmsg-timeout.c49 .msg_hdr = { in main()
/external/strace/tests-mx32/
Dmmsg_name.c106 send_mh[i].msg_hdr.msg_iov = &send_iov[i]; in test_mmsg_name()
107 send_mh[i].msg_hdr.msg_iovlen = 1; in test_mmsg_name()
108 send_mh[i].msg_hdr.msg_name = &send_addr[i]; in test_mmsg_name()
109 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name()
110 send_mh[i].msg_hdr.msg_control = 0; in test_mmsg_name()
111 send_mh[i].msg_hdr.msg_controllen = 0; in test_mmsg_name()
112 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
131 print_msghdr(&send_mh[i].msg_hdr, i + 1); in test_mmsg_name()
139 send_mh[i].msg_hdr.msg_name = 0; in test_mmsg_name()
140 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name()
[all …]
Dmmsg.c80 .msg_hdr = { in main()
85 .msg_hdr = { in main()
155 .msg_hdr = { in main()
160 .msg_hdr = { in main()
Dmmsg-silent.c45 .msg_hdr = { in main()
Drecvmmsg-timeout.c49 .msg_hdr = { in main()
/external/boringssl/src/ssl/
Dd1_both.cc153 const struct hm_header_st *msg_hdr) { in dtls1_hm_fragment_new() argument
159 frag->type = msg_hdr->type; in dtls1_hm_fragment_new()
160 frag->seq = msg_hdr->seq; in dtls1_hm_fragment_new()
161 frag->msg_len = msg_hdr->msg_len; in dtls1_hm_fragment_new()
165 (uint8_t *)OPENSSL_malloc(DTLS1_HM_HEADER_LENGTH + msg_hdr->msg_len); in dtls1_hm_fragment_new()
172 !CBB_add_u8(cbb.get(), msg_hdr->type) || in dtls1_hm_fragment_new()
173 !CBB_add_u24(cbb.get(), msg_hdr->msg_len) || in dtls1_hm_fragment_new()
174 !CBB_add_u16(cbb.get(), msg_hdr->seq) || in dtls1_hm_fragment_new()
176 !CBB_add_u24(cbb.get(), msg_hdr->msg_len) || in dtls1_hm_fragment_new()
183 if (msg_hdr->msg_len > 0) { in dtls1_hm_fragment_new()
[all …]
Dd1_pkt.cc148 struct hm_header_st msg_hdr; in dtls1_open_app_data() local
150 if (!dtls1_parse_fragment(&cbs, &msg_hdr, &body)) { in dtls1_open_app_data()
156 if (msg_hdr.type == SSL3_MT_FINISHED && in dtls1_open_app_data()
157 msg_hdr.seq == ssl->d1->handshake_read_seq - 1) { in dtls1_open_app_data()
158 if (msg_hdr.frag_off == 0) { in dtls1_open_app_data()
/external/perfetto/src/ipc/
Dunix_socket.cc320 msghdr msg_hdr = {}; in Send() local
322 msg_hdr.msg_iov = &iov; in Send()
323 msg_hdr.msg_iovlen = 1; in Send()
331 msg_hdr.msg_control = control_buf; in Send()
332 msg_hdr.msg_controllen = control_buf_len; in Send()
333 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&msg_hdr); in Send()
338 msg_hdr.msg_controllen = cmsg->cmsg_len; in Send()
343 const ssize_t sz = PERFETTO_EINTR(sendmsg(*fd_, &msg_hdr, kNoSigPipe)); in Send()
402 msghdr msg_hdr = {}; in Receive() local
404 msg_hdr.msg_iov = &iov; in Receive()
[all …]
/external/ltp/testcases/cve/
Dcve-2016-7117.c69 struct msghdr msg_hdr; member
77 .msg_hdr = {
85 .msg_hdr = {
137 msghdrs[0].msg_hdr.msg_iov->iov_base = (void *)&rbuf; in run()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc106 struct sanitizer_kernel_msghdr msg_hdr;
180 for (unsigned long i = 0; i < msg->msg_hdr.msg_iovlen; ++i) {
181 POST_WRITE(msg->msg_hdr.msg_iov[i].iov_base,
182 msg->msg_hdr.msg_iov[i].iov_len);
184 POST_WRITE(msg->msg_hdr.msg_control, msg->msg_hdr.msg_controllen);
/external/valgrind/include/vki/
Dvki-linux.h645 struct vki_msghdr msg_hdr; member
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c11120 ML_(generic_PRE_sys_recvmsg)(tid, name, &mmsg[i].msg_hdr); in ML_()
11139 ML_(generic_POST_sys_recvmsg)(tid, name, &mmsg[i].msg_hdr, mmsg[i].msg_len); in ML_()
11154 ML_(generic_PRE_sys_sendmsg)(tid, name, &mmsg[i].msg_hdr); in ML_()