Home
last modified time | relevance | path

Searched refs:cfq (Results 1 – 14 of 14) sorted by relevance

/openssl/ssl/quic/
H A Dquic_cfq.c171 QUIC_CFQ *cfq = OPENSSL_zalloc(sizeof(*cfq)); in ossl_quic_cfq_new() local
173 if (cfq == NULL) in ossl_quic_cfq_new()
176 return cfq; in ossl_quic_cfq_new()
203 void ossl_quic_cfq_free(QUIC_CFQ *cfq) in ossl_quic_cfq_free() argument
205 if (cfq == NULL) in ossl_quic_cfq_free()
208 free_list_items(&cfq->new_list); in ossl_quic_cfq_free()
209 free_list_items(&cfq->tx_list); in ossl_quic_cfq_free()
210 free_list_items(&cfq->free_list); in ossl_quic_cfq_free()
211 OPENSSL_free(cfq); in ossl_quic_cfq_free()
255 list_remove(&cfq->free_list, item); in ossl_quic_cfq_add_frame()
[all …]
H A Dquic_fifd.c17 QUIC_CFQ *cfq, in ossl_quic_fifd_init() argument
42 if (cfq == NULL || ackm == NULL || txpim == NULL in ossl_quic_fifd_init()
46 fifd->cfq = cfq; in ossl_quic_fifd_init()
109 ossl_quic_cfq_release(fifd->cfq, cfq_item); in on_acked()
195 ossl_quic_cfq_mark_lost(fifd->cfq, cfq_item, UINT32_MAX); in on_lost()
246 ossl_quic_cfq_release(fifd->cfq, cfq_item); in on_discarded()
276 ossl_quic_cfq_mark_tx(fifd->cfq, cfq_item); in ossl_quic_fifd_pkt_commit()
H A Dquic_channel_local.h70 QUIC_CFQ *cfq; member
H A Dquic_channel.c200 ch->cfq = ossl_quic_cfq_new(); in ch_init()
201 if (ch->cfq == NULL) in ch_init()
267 txp_args.cfq = ch->cfq; in ch_init()
379 ossl_quic_cfq_free(ch->cfq); in ch_cleanup()
2988 if (ossl_quic_cfq_add_frame(ch->cfq, 1, QUIC_PN_SPACE_APP, in ch_enqueue_retire_conn_id()
H A Dquic_txp.c461 || args->cfq == NULL in ossl_quic_tx_packetiser_new()
480 txp->args.cfq, txp->args.ackm, txp->args.txpim, in ossl_quic_tx_packetiser_new()
1436 for (cfq_item = ossl_quic_cfq_get_priority_head(txp->args.cfq, pn_space); in txp_should_try_staging()
2702 for (cfq_item = ossl_quic_cfq_get_priority_head(txp->args.cfq, pn_space); in txp_generate_for_el()
H A Dquic_rx_depack.c973 if (!ossl_quic_cfq_add_frame(ch->cfq, 0, QUIC_PN_SPACE_APP, in depack_do_frame_path_challenge()
/openssl/test/
H A Dquic_cfq_test.c66 static int check(QUIC_CFQ *cfq) in check() argument
74 for (i = 0, item = ossl_quic_cfq_get_priority_head(cfq, pn_space);; in check()
103 QUIC_CFQ *cfq = NULL; in test_cfq() local
108 if (!TEST_ptr(cfq = ossl_quic_cfq_new())) in test_cfq()
115 if (!TEST_ptr(item = ossl_quic_cfq_add_frame(cfq, ref_priority[i], in test_cfq()
135 if (!check(cfq)) in test_cfq()
139 for (item = ossl_quic_cfq_get_priority_head(cfq, pn_space); in test_cfq()
143 ossl_quic_cfq_mark_tx(cfq, item); in test_cfq()
155 if (!check(cfq)) in test_cfq()
161 ossl_quic_cfq_release(cfq, items[pn_space][i]); in test_cfq()
[all …]
H A Dquic_fifd_test.c53 QUIC_CFQ *cfq; member
163 if (!TEST_ptr(cfq_item = ossl_quic_cfq_add_frame(info->cfq, 10, in test_generic()
169 || !TEST_ptr_eq(cfq_item, ossl_quic_cfq_get_priority_head(info->cfq, pn_space))) in test_generic()
198 if (!TEST_ptr_null(ossl_quic_cfq_get_priority_head(info->cfq, pn_space))) in test_generic()
282 if (!TEST_ptr_eq(cfq_item, ossl_quic_cfq_get_priority_head(info->cfq, pn_space))) in test_generic()
334 || !TEST_ptr(info.cfq = ossl_quic_cfq_new()) in test_fifd()
336 || !TEST_true(ossl_quic_fifd_init(&info.fifd, info.cfq, info.ackm, in test_fifd()
358 ossl_quic_cfq_free(info.cfq); in test_fifd()
H A Dquic_txp_test.c95 ossl_quic_cfq_free(h->args.cfq); in helper_cleanup()
142 if (!TEST_ptr(h->args.cfq = ossl_quic_cfq_new())) in helper_init()
434 if (!TEST_ptr(cfq_item = ossl_quic_cfq_add_frame(h->args.cfq, 1, in schedule_cfq_new_conn_id()
510 if (!TEST_ptr(cfq_item = ossl_quic_cfq_add_frame(h->args.cfq, 1, in schedule_cfq_new_token()
/openssl/include/internal/
H A Dquic_cfq.h69 void ossl_quic_cfq_free(QUIC_CFQ *cfq);
102 QUIC_CFQ_ITEM *ossl_quic_cfq_add_frame(QUIC_CFQ *cfq,
115 void ossl_quic_cfq_mark_tx(QUIC_CFQ *cfq, QUIC_CFQ_ITEM *item);
122 void ossl_quic_cfq_mark_lost(QUIC_CFQ *cfq, QUIC_CFQ_ITEM *item,
129 void ossl_quic_cfq_release(QUIC_CFQ *cfq, QUIC_CFQ_ITEM *item);
140 QUIC_CFQ_ITEM *ossl_quic_cfq_get_priority_head(const QUIC_CFQ *cfq,
H A Dquic_fifd.h29 QUIC_CFQ *cfq; member
54 QUIC_CFQ *cfq,
H A Dquic_txp.h42 QUIC_CFQ *cfq; /* QUIC Control Frame Queue */ member
/openssl/doc/designs/quic-design/
H A Dquic-fifm.md113 ![](images/quic-fifm-cfq.png "QUIC CFQ Overview")
195 void ossl_quic_cfq_free(QUIC_CFQ *cfq);
224 QUIC_CFQ_ITEM *ossl_quic_cfq_add_frame(QUIC_CFQ *cfq,
236 void ossl_quic_cfq_mark_tx(QUIC_CFQ *cfq, QUIC_CFQ_ITEM *item);
243 void ossl_quic_cfq_mark_lost(QUIC_CFQ *cfq, QUIC_CFQ_ITEM *item,
250 void ossl_quic_cfq_release(QUIC_CFQ *cfq, QUIC_CFQ_ITEM *item);
261 QUIC_CFQ_ITEM *ossl_quic_cfq_get_priority_head(QUIC_CFQ *cfq, uint32_t pn_space);
447 QUIC_CFQ *cfq,
H A Dtx-packetiser.md26 QUIC_CFQ *cfq; /* QUIC Control Frame Queue */

Completed in 88 milliseconds