Lines Matching refs:msg_len
336 * the oldest inserted message length(fifo). \p msg_len can be null, in which
372 * too small to fit the message. In this case the \p msg_len will be
377 size_t buf_len, size_t* msg_len )
379 if( queue == NULL || msg_len == NULL )
384 *msg_len = queue->messages[queue->pos];
385 return ( *msg_len > buf_len ) ? MBEDTLS_TEST_ERROR_MESSAGE_TRUNCATED : 0;
685 size_t msg_len;
699 ret = mbedtls_test_message_queue_peek_info( queue, buf_len, &msg_len );
703 drop_len = msg_len - buf_len;
706 msg_len = buf_len;
712 if( mbedtls_mock_tcp_recv_b( socket, buf, msg_len ) != (int) msg_len )
727 return msg_len;