Lines Matching refs:init_num
127 if (!ossl_assert(s->init_num == in dtls1_do_write()
138 while (s->init_num > 0) { in dtls1_do_write()
161 s->init_num += DTLS1_HM_HEADER_LENGTH; in dtls1_do_write()
199 if (((unsigned int)s->init_num) > curr_mtu) in dtls1_do_write()
202 len = s->init_num; in dtls1_do_write()
296 if (written == s->init_num) { in dtls1_do_write()
299 (size_t)(s->init_off + s->init_num), ussl, in dtls1_do_write()
303 s->init_num = 0; in dtls1_do_write()
308 s->init_num -= written; in dtls1_do_write()
387 size_t msg_len = s->init_num + DTLS1_HM_HEADER_LENGTH; in dtls_get_message_body()
412 s->init_buf->data, s->init_num + DTLS1_HM_HEADER_LENGTH, in dtls_get_message_body()
416 *len = s->init_num; in dtls_get_message_body()
587 s->init_num = 0; in dtls1_retrieve_buffered_fragment()
828 s->init_num = frag_len; in dtls_get_reassembled_message()
848 s->init_num = readbytes - 1; in dtls_get_reassembled_message()
921 s->init_num = 0; in dtls_get_reassembled_message()
980 *len = s->init_num = frag_len; in dtls_get_reassembled_message()
984 s->init_num = 0; in dtls_get_reassembled_message()
1126 frag = dtls1_hm_fragment_new(s->init_num, 0); in dtls1_buffer_message()
1130 memcpy(frag->fragment, s->init_buf->data, s->init_num); in dtls1_buffer_message()
1137 == (unsigned int)s->init_num)) { in dtls1_buffer_message()
1143 DTLS1_HM_HEADER_LENGTH == (unsigned int)s->init_num)) { in dtls1_buffer_message()
1213 s->init_num = frag->msg_header.msg_len + header_length; in dtls1_retransmit_message()
1350 s->init_num = (int)msglen; in dtls1_close_construct_packet()