Home
last modified time | relevance | path

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

/third_party/openssl/ssl/statem/
Dstatem_dtls.c279 const struct hm_header_st *msg_hdr = &s->d1->w_msg_hdr; in dtls1_do_write() local
287 *p++ = msg_hdr->type; in dtls1_do_write()
288 l2n3(msg_hdr->msg_len, p); in dtls1_do_write()
289 s2n(msg_hdr->seq, p); in dtls1_do_write()
291 l2n3(msg_hdr->msg_len, p); in dtls1_do_write()
333 struct hm_header_st *msg_hdr; in dtls_get_message() local
339 msg_hdr = &s->d1->r_msg_hdr; in dtls_get_message()
340 memset(msg_hdr, 0, sizeof(*msg_hdr)); in dtls_get_message()
368 msg_len = msg_hdr->msg_len; in dtls_get_message()
371 *(p++) = msg_hdr->type; in dtls_get_message()
[all …]
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c82 snd_msg[0].msg_hdr.msg_iov = snd1; in setup()
83 snd_msg[0].msg_hdr.msg_iovlen = 2; in setup()
84 snd_msg[1].msg_hdr.msg_iov = snd2; in setup()
85 snd_msg[1].msg_hdr.msg_iovlen = 1; in setup()
88 rcv_msg[0].msg_hdr.msg_iov = rcv1; in setup()
89 rcv_msg[0].msg_hdr.msg_iovlen = 1; in setup()
90 rcv_msg[1].msg_hdr.msg_iov = rcv2; in setup()
91 rcv_msg[1].msg_hdr.msg_iovlen = 1; in setup()
/third_party/musl/libc-test/src/functionalext/supplement/network/
D__recvmmsg_time64.c63 msg[0].msg_hdr.msg_iov = msg1; in sendsss()
64 msg[0].msg_hdr.msg_iovlen = 2; in sendsss()
66 msg[1].msg_hdr.msg_iov = &msg2; in sendsss()
67 msg[1].msg_hdr.msg_iovlen = 1; in sendsss()
104 msgs[i].msg_hdr.msg_iov = &iovecs[i]; in recvsss()
105 msgs[i].msg_hdr.msg_iovlen = 1; in recvsss()
Drecvmmsg.c61 msg[0].msg_hdr.msg_iov = msg1; in sendsss()
62 msg[0].msg_hdr.msg_iovlen = 2; in sendsss()
64 msg[1].msg_hdr.msg_iov = &msg2; in sendsss()
65 msg[1].msg_hdr.msg_iovlen = 1; in sendsss()
102 msgs[i].msg_hdr.msg_iov = &iovecs[i]; in recvsss()
103 msgs[i].msg_hdr.msg_iovlen = 1; in recvsss()
Dsendmmsg.c62 msg[0].msg_hdr.msg_iov = msg1; in sendmmsg_0100()
63 msg[0].msg_hdr.msg_iovlen = 2; in sendmmsg_0100()
65 msg[1].msg_hdr.msg_iov = &msg2; in sendmmsg_0100()
66 msg[1].msg_hdr.msg_iovlen = 1; in sendmmsg_0100()
/third_party/musl/src/network/
Drecvmmsg.c19 mh->msg_hdr.__pad1 = mh->msg_hdr.__pad2 = 0; in recvmmsg()
30 for (int i=0; i<vlen; i++) csize[i] = msgvec[i].msg_hdr.msg_controllen; in recvmmsg()
34 __convert_scm_timestamps(&msgvec[i].msg_hdr, csize[i]); in recvmmsg()
Dsendmmsg.c21 ssize_t r = sendmsg(fd, &msgvec[i].msg_hdr, flags); in sendmmsg()
/third_party/ltp/testcases/cve/
Dcve-2016-7117.c58 .msg_hdr = {
66 .msg_hdr = {
118 msghdrs[0].msg_hdr.msg_iov->iov_base = (void *)&rbuf; in run()
/third_party/libuv/src/unix/
Dudp.c204 memset(&msgs[k].msg_hdr, 0, sizeof(msgs[k].msg_hdr)); in uv__udp_recvmmsg()
205 msgs[k].msg_hdr.msg_iov = iov + k; in uv__udp_recvmmsg()
206 msgs[k].msg_hdr.msg_iovlen = 1; in uv__udp_recvmmsg()
207 msgs[k].msg_hdr.msg_name = peers + k; in uv__udp_recvmmsg()
208 msgs[k].msg_hdr.msg_namelen = sizeof(peers[0]); in uv__udp_recvmmsg()
209 msgs[k].msg_hdr.msg_control = NULL; in uv__udp_recvmmsg()
210 msgs[k].msg_hdr.msg_controllen = 0; in uv__udp_recvmmsg()
211 msgs[k].msg_hdr.msg_flags = 0; in uv__udp_recvmmsg()
227 if (msgs[k].msg_hdr.msg_flags & MSG_TRUNC) in uv__udp_recvmmsg()
234 msgs[k].msg_hdr.msg_name, in uv__udp_recvmmsg()
[all …]
Dinternal.h343 struct msghdr msg_hdr; member
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/
Drecvmmsg01.c114 msg[0].msg_hdr.msg_iov = iov; in setup()
115 msg[0].msg_hdr.msg_iovlen = 1; in setup()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_socket.c2871 struct msghdr msg_hdr; local
2952 msg_hdr.msg_name = (struct sockaddr *) &dst;
2953 msg_hdr.msg_namelen = sizeof(struct sockaddr_in);
2954 msg_hdr.msg_iov = send_iovec;
2955 msg_hdr.msg_iovlen = iovcnt;
2956 msg_hdr.msg_control = NULL;
2957 msg_hdr.msg_controllen = 0;
2958 msg_hdr.msg_flags = 0;
2961 if (sendmsg(SCTP_BASE_VAR(userspace_rawsctp), &msg_hdr, MSG_DONTWAIT) < 0) {
2966 if (sendmsg(SCTP_BASE_VAR(userspace_udpsctp), &msg_hdr, MSG_DONTWAIT) < 0) {
[all …]
/third_party/ltp/include/lapi/
Dsocket.h67 struct msghdr msg_hdr; member
/third_party/boost/boost/interprocess/ipc/
Dmessage_queue.hpp557 msg_header *msg_hdr = reinterpret_cast<msg_header*> in initialize_memory() local
565 index[i] = msg_hdr; in initialize_memory()
566 msg_hdr = reinterpret_cast<msg_header*> in initialize_memory()
567 (reinterpret_cast<char*>(msg_hdr)+r_max_msg_size); in initialize_memory()
/third_party/openssl/ssl/record/
Drec_layer_d1.c654 struct hm_header_st msg_hdr; in dtls1_read_bytes() local
667 dtls1_get_message_header(rr->data, &msg_hdr); in dtls1_read_bytes()
673 if (msg_hdr.type == SSL3_MT_FINISHED) { in dtls1_read_bytes()
/third_party/musl/ndk_musl_include/sys/
Dsocket.h68 struct msghdr msg_hdr; member
/third_party/musl/include/sys/
Dsocket.h64 struct msghdr msg_hdr; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsocket.h64 struct msghdr msg_hdr; member
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsocket.h64 struct msghdr msg_hdr; member
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dsocket.h53 struct msghdr msg_hdr; member
/third_party/musl/porting/linux/user/include/sys/
Dsocket.h68 struct msghdr msg_hdr; member
/third_party/musl/porting/uniproton/kernel/include/sys/
Dsocket.h64 struct msghdr msg_hdr; member
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dsocket.h64 struct msghdr msg_hdr; member
/third_party/glib/gio/
Dgsocket.c5213 struct msghdr *msg_hdr = &msgvec[i].msg_hdr; in g_socket_send_messages_with_timeout() local
5219 msg_hdr, (i > 0) ? &msgvec[i - 1].msg_hdr : NULL, in g_socket_send_messages_with_timeout()
5735 struct msghdr *msg_hdr = &msgvec[i].msg_hdr; in g_socket_receive_messages_with_timeout() local
5737 input_message_to_msghdr (msg, msg_hdr); in g_socket_receive_messages_with_timeout()
5816 input_message_from_msghdr (&msgvec[i].msg_hdr, &messages[i], socket); in g_socket_receive_messages_with_timeout()
/third_party/openssl/ssl/
Dssl_local.h2422 struct hm_header_st *msg_hdr);