Lines Matching refs:qrx_pkt
395 ossl_qrx_pkt_release(ch->qrx_pkt); in ch_cleanup()
396 ch->qrx_pkt = NULL; in ch_cleanup()
2051 assert(ch->qrx_pkt == NULL); in ch_rx()
2053 if (!ossl_qrx_read_pkt(ch->qrx, &ch->qrx_pkt)) in ch_rx()
2059 ch->txp, ch->qrx_pkt->hdr->len); in ch_rx()
2073 ossl_qrx_pkt_release(ch->qrx_pkt); in ch_rx()
2074 ch->qrx_pkt = NULL; in ch_rx()
2124 assert(ch->qrx_pkt != NULL); in ch_rx_handle_packet()
2134 if (ossl_quic_pkt_type_is_encrypted(ch->qrx_pkt->hdr->type)) { in ch_rx_handle_packet()
2136 ch->cur_remote_dcid = ch->init_scid = ch->qrx_pkt->hdr->src_conn_id; in ch_rx_handle_packet()
2146 enc_level = ossl_quic_pkt_type_to_enc_level(ch->qrx_pkt->hdr->type); in ch_rx_handle_packet()
2163 && ch->qrx_pkt->peer != NULL in ch_rx_handle_packet()
2170 && !bio_addr_eq(ch->qrx_pkt->peer, &ch->cur_peer_addr)) in ch_rx_handle_packet()
2175 && ossl_quic_pkt_type_has_scid(ch->qrx_pkt->hdr->type)) { in ch_rx_handle_packet()
2181 if (!ossl_quic_conn_id_eq(&ch->qrx_pkt->hdr->src_conn_id, in ch_rx_handle_packet()
2186 if (ossl_quic_pkt_type_has_version(ch->qrx_pkt->hdr->type) in ch_rx_handle_packet()
2187 && ch->qrx_pkt->hdr->version != QUIC_VERSION_1) in ch_rx_handle_packet()
2202 if (ossl_quic_pkt_type_is_encrypted(ch->qrx_pkt->hdr->type) in ch_rx_handle_packet()
2203 && ch->qrx_pkt->hdr->reserved != 0) { in ch_rx_handle_packet()
2209 iovec.buf = ch->qrx_pkt->hdr->data; in ch_rx_handle_packet()
2210 iovec.buf_len = ch->qrx_pkt->hdr->len; in ch_rx_handle_packet()
2211 ossl_qlog_event_transport_packet_received(ch_get_qlog(ch), ch->qrx_pkt->hdr, in ch_rx_handle_packet()
2212 ch->qrx_pkt->pn, &iovec, 1, in ch_rx_handle_packet()
2213 ch->qrx_pkt->datagram_id); in ch_rx_handle_packet()
2216 switch (ch->qrx_pkt->hdr->type) { in ch_rx_handle_packet()
2233 if (ch->qrx_pkt->hdr->len <= QUIC_RETRY_INTEGRITY_TAG_LEN) in ch_rx_handle_packet()
2248 ch->qrx_pkt->hdr, in ch_rx_handle_packet()
2253 if (!ch_retry(ch, ch->qrx_pkt->hdr->data, in ch_rx_handle_packet()
2254 ch->qrx_pkt->hdr->len - QUIC_RETRY_INTEGRITY_TAG_LEN, in ch_rx_handle_packet()
2255 &ch->qrx_pkt->hdr->src_conn_id)) in ch_rx_handle_packet()
2275 if (ch->is_server && ch->qrx_pkt->hdr->type == QUIC_PKT_TYPE_HANDSHAKE) in ch_rx_handle_packet()
2283 && ch->qrx_pkt->hdr->type == QUIC_PKT_TYPE_1RTT in ch_rx_handle_packet()
2284 && ch->qrx_pkt->pn >= ch->rxku_trigger_pn in ch_rx_handle_packet()
2285 && ch->qrx_pkt->key_epoch < ossl_qrx_get_key_epoch(ch->qrx)) { in ch_rx_handle_packet()
2300 && ch->qrx_pkt->hdr->type == QUIC_PKT_TYPE_INITIAL in ch_rx_handle_packet()
2301 && ch->qrx_pkt->hdr->token_len > 0) { in ch_rx_handle_packet()
2325 ossl_quic_handle_frames(ch, ch->qrx_pkt); /* best effort */ in ch_rx_handle_packet()
2338 ch_rx_handle_version_neg(ch, ch->qrx_pkt); in ch_rx_handle_packet()