Lines Matching refs:readbytes
602 size_t readbytes; in dtls1_reassemble_fragment() local
648 frag_len, 0, &readbytes); in dtls1_reassemble_fragment()
651 frag_len -= readbytes; in dtls1_reassemble_fragment()
659 frag_len, 0, &readbytes); in dtls1_reassemble_fragment()
660 if (i <= 0 || readbytes != frag_len) in dtls1_reassemble_fragment()
712 size_t readbytes; in dtls1_process_out_of_seq_message() local
746 frag_len, 0, &readbytes); in dtls1_process_out_of_seq_message()
749 frag_len -= readbytes; in dtls1_process_out_of_seq_message()
771 &readbytes); in dtls1_process_out_of_seq_message()
772 if (i<=0 || readbytes != frag_len) in dtls1_process_out_of_seq_message()
810 size_t readbytes; in dtls_get_reassembled_message() local
835 DTLS1_HM_HEADER_LENGTH, 0, &readbytes); in dtls_get_reassembled_message()
848 s->init_num = readbytes - 1; in dtls_get_reassembled_message()
851 s->s3.tmp.message_size = readbytes - 1; in dtls_get_reassembled_message()
852 *len = readbytes - 1; in dtls_get_reassembled_message()
857 if (readbytes != DTLS1_HM_HEADER_LENGTH) { in dtls_get_reassembled_message()
939 &p[frag_off], frag_len, 0, &readbytes); in dtls_get_reassembled_message()
951 readbytes = 0; in dtls_get_reassembled_message()
958 if (readbytes != frag_len) { in dtls_get_reassembled_message()