Home
last modified time | relevance | path

Searched refs:msg_hdr (Results 1 – 18 of 18) 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/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()
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c88 snd_msg[0].msg_hdr.msg_iov = snd1; in setup()
89 snd_msg[0].msg_hdr.msg_iovlen = 2; in setup()
90 snd_msg[1].msg_hdr.msg_iov = snd2; in setup()
91 snd_msg[1].msg_hdr.msg_iovlen = 1; in setup()
94 rcv_msg[0].msg_hdr.msg_iov = rcv1; in setup()
95 rcv_msg[0].msg_hdr.msg_iovlen = 1; in setup()
96 rcv_msg[1].msg_hdr.msg_iov = rcv2; in setup()
97 rcv_msg[1].msg_hdr.msg_iovlen = 1; in setup()
/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/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/porting/liteos_a/kernel/include/sys/
Dsocket.h64 struct msghdr msg_hdr; member
/third_party/musl/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/linux/user/include/sys/
Dsocket.h68 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.h2421 struct hm_header_st *msg_hdr);