Lines Matching refs:hdr
2059 ch->txp, ch->qrx_pkt->hdr->len); in ch_rx()
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()
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()
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()
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()
2359 if (!PACKET_buf_init(&vpkt, pkt->hdr->data, pkt->hdr->len)) in ch_rx_handle_version_neg()