Home
last modified time | relevance | path

Searched refs:msg_hdr (Results 1 – 24 of 24) 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.c67 print_struct_msghdr(tcp, &mmsg->msg_hdr, c->p_user_msg_namelen, in print_struct_mmsghdr()
117 data->namelen[i] = mh.msg_hdr.msg_namelen; in save_mmsgvec_namelen()
160 (kernel_ulong_t) mmsg.msg_hdr.msg_iovlen, i); in dumpiov_in_mmsghdr()
161 dumpiov_upto(tcp, mmsg.msg_hdr.msg_iovlen, in dumpiov_in_mmsghdr()
162 ptr_to_kulong(mmsg.msg_hdr.msg_iov), in dumpiov_in_mmsghdr()
Dmsghdr.h9 struct msghdr msg_hdr; member
DChangeLog27751 * 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/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c47 msg[0].msg_hdr.msg_iov = msg1; in sender_thread()
48 msg[0].msg_hdr.msg_iovlen = 2; in sender_thread()
50 msg[1].msg_hdr.msg_iov = &msg2; in sender_thread()
51 msg[1].msg_hdr.msg_iovlen = 1; in sender_thread()
81 msgs[i].msg_hdr.msg_iov = &iovecs[i]; in receiver_thread()
82 msgs[i].msg_hdr.msg_iovlen = 1; in receiver_thread()
/external/perfetto/src/base/
Dunix_socket.cc254 msghdr msg_hdr = {}; in Send() local
256 msg_hdr.msg_iov = &iov; in Send()
257 msg_hdr.msg_iovlen = 1; in Send()
266 msg_hdr.msg_control = control_buf; in Send()
267 msg_hdr.msg_controllen = control_buf_len; // used by CMSG_FIRSTHDR in Send()
268 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&msg_hdr); in Send()
277 return SendMsgAll(&msg_hdr); in Send()
285 msghdr msg_hdr = {}; in Receive() local
287 msg_hdr.msg_iov = &iov; in Receive()
288 msg_hdr.msg_iovlen = 1; in Receive()
[all …]
/external/ltp/testcases/cve/
Dcve-2016-7117.c68 struct msghdr msg_hdr; member
76 .msg_hdr = {
84 .msg_hdr = {
136 msghdrs[0].msg_hdr.msg_iov->iov_base = (void *)&rbuf; in run()
/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso_bench_tx.c187 mmsgs[i].msg_hdr.msg_iov = iov + i; in send_udp_sendmmsg()
188 mmsgs[i].msg_hdr.msg_iovlen = 1; in send_udp_sendmmsg()
/external/syzkaller/sys/linux/
Dsocket.txt126 msg_hdr send_msghdr
141 msg_hdr recv_msghdr
/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);