Lines Matching refs:init_num
128 if (!ossl_assert(s->init_num == in dtls1_do_write()
153 while (s->init_num > 0) { in dtls1_do_write()
176 s->init_num += DTLS1_HM_HEADER_LENGTH; in dtls1_do_write()
216 if (((unsigned int)s->init_num) > curr_mtu) in dtls1_do_write()
219 len = s->init_num; in dtls1_do_write()
303 if (written == s->init_num) { in dtls1_do_write()
306 (size_t)(s->init_off + s->init_num), s, in dtls1_do_write()
310 s->init_num = 0; in dtls1_do_write()
315 s->init_num -= written; in dtls1_do_write()
393 size_t msg_len = s->init_num + DTLS1_HM_HEADER_LENGTH; in dtls_get_message_body()
418 s->init_buf->data, s->init_num + DTLS1_HM_HEADER_LENGTH, in dtls_get_message_body()
422 *len = s->init_num; in dtls_get_message_body()
592 s->init_num = 0; in dtls1_retrieve_buffered_fragment()
825 s->init_num = frag_len; in dtls_get_reassembled_message()
846 s->init_num = readbytes - 1; in dtls_get_reassembled_message()
919 s->init_num = 0; in dtls_get_reassembled_message()
979 *len = s->init_num = frag_len; in dtls_get_reassembled_message()
983 s->init_num = 0; in dtls_get_reassembled_message()
1125 frag = dtls1_hm_fragment_new(s->init_num, 0); in dtls1_buffer_message()
1129 memcpy(frag->fragment, s->init_buf->data, s->init_num); in dtls1_buffer_message()
1136 == (unsigned int)s->init_num)) { in dtls1_buffer_message()
1142 DTLS1_HM_HEADER_LENGTH == (unsigned int)s->init_num)) { in dtls1_buffer_message()
1215 s->init_num = frag->msg_header.msg_len + header_length; in dtls1_retransmit_message()
1355 s->init_num = (int)msglen; in dtls1_close_construct_packet()