Lines Matching refs:pn_space

84 static int rx_late_validate(QUIC_PN pn, int pn_space, void *arg);
100 static void ch_on_txp_ack_tx(const OSSL_QUIC_FRAME_ACK *ack, uint32_t pn_space,
167 uint32_t pn_space; in ch_init() local
222 for (pn_space = QUIC_PN_SPACE_INITIAL; pn_space < QUIC_PN_SPACE_NUM; ++pn_space) in ch_init()
223 if (!ossl_quic_rxfc_init_standalone(&ch->crypto_rxfc[pn_space], in ch_init()
281 for (pn_space = QUIC_PN_SPACE_INITIAL; pn_space < QUIC_PN_SPACE_NUM; ++pn_space) { in ch_init()
282 ch->crypto_send[pn_space] = ossl_quic_sstream_new(INIT_CRYPTO_SEND_BUF_LEN); in ch_init()
283 if (ch->crypto_send[pn_space] == NULL) in ch_init()
286 txp_args.crypto[pn_space] = ch->crypto_send[pn_space]; in ch_init()
313 for (pn_space = QUIC_PN_SPACE_INITIAL; pn_space < QUIC_PN_SPACE_NUM; ++pn_space) { in ch_init()
314 ch->crypto_recv[pn_space] = ossl_quic_rstream_new(NULL, NULL, 0); in ch_init()
315 if (ch->crypto_recv[pn_space] == NULL) in ch_init()
367 uint32_t pn_space; in ch_cleanup() local
370 for (pn_space = QUIC_PN_SPACE_INITIAL; in ch_cleanup()
371 pn_space < QUIC_PN_SPACE_NUM; in ch_cleanup()
372 ++pn_space) in ch_cleanup()
373 ossl_ackm_on_pkt_space_discarded(ch->ackm, pn_space); in ch_cleanup()
390 for (pn_space = QUIC_PN_SPACE_INITIAL; pn_space < QUIC_PN_SPACE_NUM; ++pn_space) { in ch_cleanup()
391 ossl_quic_sstream_free(ch->crypto_send[pn_space]); in ch_cleanup()
392 ossl_quic_rstream_free(ch->crypto_recv[pn_space]); in ch_cleanup()
617 static int rx_late_validate(QUIC_PN pn, int pn_space, void *arg) in rx_late_validate() argument
622 if (!ossl_ackm_is_rx_pn_processable(ch->ackm, pn, pn_space)) in rx_late_validate()
841 static void ch_on_txp_ack_tx(const OSSL_QUIC_FRAME_ACK *ack, uint32_t pn_space, in ch_on_txp_ack_tx() argument
846 if (pn_space != QUIC_PN_SPACE_APP || !ch->rxku_pending_confirm in ch_on_txp_ack_tx()
867 uint32_t pn_space = ossl_quic_enc_level_to_pn_space(enc_level); in ch_on_crypto_send() local
868 QUIC_SSTREAM *sstream = ch->crypto_send[pn_space]; in ch_on_crypto_send()
1946 int pn_space = ossl_quic_enc_level_to_pn_space(ch->tx_enc_level); in ossl_quic_channel_subtick() local
1948 ossl_quic_tx_packetiser_schedule_ack_eliciting(ch->txp, pn_space); in ossl_quic_channel_subtick()
2732 uint32_t pn_space = ossl_quic_enc_level_to_pn_space(enc_level); in ch_discard_el() local
2734 ossl_ackm_on_pkt_space_discarded(ch->ackm, pn_space); in ch_discard_el()
2737 if (!ossl_assert(ch->crypto_send[pn_space] != NULL) in ch_discard_el()
2738 || !ossl_assert(ch->crypto_recv[pn_space] != NULL)) in ch_discard_el()
2742 ossl_quic_sstream_free(ch->crypto_send[pn_space]); in ch_discard_el()
2743 ch->crypto_send[pn_space] = NULL; in ch_discard_el()
2745 ossl_quic_rstream_free(ch->crypto_recv[pn_space]); in ch_discard_el()
2746 ch->crypto_recv[pn_space] = NULL; in ch_discard_el()
3665 int pn_space = ossl_quic_enc_level_to_pn_space(ch->tx_enc_level); in ossl_quic_channel_ping() local
3667 ossl_quic_tx_packetiser_schedule_ack_eliciting(ch->txp, pn_space); in ossl_quic_channel_ping()