Lines Matching refs:stream
59 if (t->stream) { in dns_transaction_close_connection()
61 LIST_REMOVE(transactions_by_stream, t->stream->transactions, t); in dns_transaction_close_connection()
64 dns_packet_unref(ordered_set_remove(t->stream->write_queue, t->sent)); in dns_transaction_close_connection()
66 t->stream = dns_stream_unref(t->stream); in dns_transaction_close_connection()
653 … if (t && t->stream == s) /* Validate that the stream we got this on actually is the stream the in on_stream_packet()
703 …if (t->server->stream && (DNS_SERVER_FEATURE_LEVEL_IS_TLS(t->current_feature_level) == t->server->… in dns_transaction_emit_tcp()
704 s = dns_stream_ref(t->server->stream); in dns_transaction_emit_tcp()
774 t->server->stream = dns_stream_ref(s); in dns_transaction_emit_tcp()
783 t->stream = TAKE_PTR(s); in dns_transaction_emit_tcp()
784 LIST_PREPEND(transactions_by_stream, t->stream->transactions, t); in dns_transaction_emit_tcp()
786 r = dns_stream_write_packet(t->stream, t->sent); in dns_transaction_emit_tcp()
1535 …dns_server_packet_lost(t->server, t->stream ? IPPROTO_TCP : IPPROTO_UDP, t->current_feature_level); in on_transaction_timeout()
1567 if (t->stream) in transaction_get_resend_timeout()