Lines Matching refs:hdr
461 static int qtx_write_hdr(OSSL_QTX *qtx, const QUIC_PKT_HDR *hdr, TXE *txe, in qtx_write_hdr() argument
471 if (!ossl_quic_wire_encode_pkt_hdr(&wpkt, hdr->dst_conn_id.id_len, in qtx_write_hdr()
472 hdr, ptrs) in qtx_write_hdr()
490 const unsigned char *hdr, size_t hdr_len, in qtx_encrypt_into_txe() argument
544 if (EVP_CipherUpdate(cctx, NULL, &l, hdr, hdr_len) != 1) { in qtx_encrypt_into_txe()
600 uint32_t enc_level, QUIC_PKT_HDR *hdr, in qtx_write() argument
615 if (!ossl_quic_pkt_type_is_encrypted(hdr->type)) { in qtx_write()
635 if (hdr->type == QUIC_PKT_TYPE_1RTT) in qtx_write()
636 hdr->key_phase = (unsigned char)(el->key_epoch & 1); in qtx_write()
656 hdr->data = NULL; in qtx_write()
657 hdr->len = payload_len; in qtx_write()
658 pred_hdr_len = ossl_quic_wire_get_encoded_pkt_hdr_len(hdr->dst_conn_id.id_len, in qtx_write()
659 hdr); in qtx_write()
673 if (ossl_quic_pkt_type_has_pn(hdr->type)) { in qtx_write()
675 hdr->pn, in qtx_write()
676 hdr->pn_len)) { in qtx_write()
684 if (!qtx_write_hdr(qtx, hdr, txe, &ptrs)) { in qtx_write()
758 QUIC_PKT_HDR *hdr; in qtx_mutate_write() local
764 if (!qtx->mutatecb(pkt->hdr, pkt->iovec, pkt->num_iovec, &hdr, in qtx_mutate_write()
768 hdr = pkt->hdr; in qtx_mutate_write()
774 hdr, iovec, num_iovec); in qtx_mutate_write()
776 ossl_qlog_event_transport_packet_sent(qtx_get_qlog(qtx), hdr, pkt->pn, in qtx_mutate_write()
802 if (pkt->hdr == NULL) in ossl_qtx_write_pkt()
805 enc_level = ossl_quic_pkt_type_to_enc_level(pkt->hdr->type); in ossl_qtx_write_pkt()
808 if (!ossl_quic_pkt_type_can_share_dgram(pkt->hdr->type)) in ossl_qtx_write_pkt()
885 if (ossl_quic_pkt_type_must_be_last(pkt->hdr->type)) in ossl_qtx_write_pkt()