Home
last modified time | relevance | path

Searched refs:txpim (Results 1 – 13 of 13) sorted by relevance

/freebsd/crypto/openssl/ssl/quic/
H A Dquic_txpim.c36 QUIC_TXPIM *txpim = OPENSSL_zalloc(sizeof(*txpim)); in ossl_quic_txpim_new() local
38 if (txpim == NULL) in ossl_quic_txpim_new()
41 return txpim; in ossl_quic_txpim_new()
58 void ossl_quic_txpim_free(QUIC_TXPIM *txpim) in ossl_quic_txpim_free() argument
60 if (txpim == NULL) in ossl_quic_txpim_free()
63 assert(txpim->in_use == 0); in ossl_quic_txpim_free()
64 free_list(&txpim->free_list); in ossl_quic_txpim_free()
65 OPENSSL_free(txpim); in ossl_quic_txpim_free()
92 static QUIC_TXPIM_PKT_EX *txpim_get_free(QUIC_TXPIM *txpim) in txpim_get_free() argument
94 QUIC_TXPIM_PKT_EX *ex = txpim->free_list.head; in txpim_get_free()
[all …]
H A Dquic_fifd.c19 QUIC_TXPIM *txpim, in ossl_quic_fifd_init() argument
42 if (cfq == NULL || ackm == NULL || txpim == NULL in ossl_quic_fifd_init()
48 fifd->txpim = txpim; in ossl_quic_fifd_init()
112 ossl_quic_txpim_pkt_release(fifd->txpim, pkt); in on_acked()
229 ossl_quic_txpim_pkt_release(fifd->txpim, pkt); in on_lost()
249 ossl_quic_txpim_pkt_release(fifd->txpim, pkt); in on_discarded()
H A Dquic_channel_local.h80 QUIC_TXPIM *txpim; member
H A Dquic_txp.c544 || args->txpim == NULL in ossl_quic_tx_packetiser_new()
565 txp->args.cfq, txp->args.ackm, txp->args.txpim, in ossl_quic_tx_packetiser_new()
1748 ossl_quic_txpim_pkt_release(txp->args.txpim, pkt->tpkt); in txp_pkt_cleanup()
2695 if ((pkt->tpkt = tpkt = ossl_quic_txpim_pkt_alloc(txp->args.txpim)) == NULL) in txp_generate_for_el()
2947 ossl_quic_txpim_pkt_release(txp->args.txpim, tpkt); in txp_generate_for_el()
H A Dquic_channel.c194 ch->txpim = ossl_quic_txpim_new(); in ch_init()
195 if (ch->txpim == NULL) in ch_init()
264 txp_args.txpim = ch->txpim; in ch_init()
403 ossl_quic_txpim_free(ch->txpim); in ch_cleanup()
/freebsd/crypto/openssl/test/
H A Dquic_txpim_test.c17 QUIC_TXPIM *txpim; in test_txpim() local
23 if (!TEST_ptr(txpim = ossl_quic_txpim_new())) in test_txpim()
27 if (!TEST_ptr(pkts[i] = ossl_quic_txpim_pkt_alloc(txpim))) in test_txpim()
56 if (txpim != NULL && pkts[i] != NULL) in test_txpim()
57 ossl_quic_txpim_pkt_release(txpim, pkts[i]); in test_txpim()
59 ossl_quic_txpim_free(txpim); in test_txpim()
H A Dquic_fifd_test.c54 QUIC_TXPIM *txpim; member
127 if (!TEST_ptr(pkt = ossl_quic_txpim_pkt_alloc(info->txpim))) in test_generic()
228 if (!TEST_ptr(pkt2 = ossl_quic_txpim_pkt_alloc(info->txpim))) in test_generic()
310 if (!TEST_size_t_eq(ossl_quic_txpim_get_in_use(info->txpim), 0)) in test_generic()
335 || !TEST_ptr(info.txpim = ossl_quic_txpim_new()) in test_fifd()
337 info.txpim, in test_fifd()
359 ossl_quic_txpim_free(info.txpim); in test_fifd()
H A Dquic_txp_test.c94 ossl_quic_txpim_free(h->args.txpim); in helper_cleanup()
139 if (!TEST_ptr(h->args.txpim = ossl_quic_txpim_new())) in helper_init()
/freebsd/crypto/openssl/include/internal/
H A Dquic_txpim.h85 void ossl_quic_txpim_free(QUIC_TXPIM *txpim);
92 QUIC_TXPIM_PKT *ossl_quic_txpim_pkt_alloc(QUIC_TXPIM *txpim);
97 void ossl_quic_txpim_pkt_release(QUIC_TXPIM *txpim, QUIC_TXPIM_PKT *fpkt);
131 size_t ossl_quic_txpim_get_in_use(const QUIC_TXPIM *txpim);
H A Dquic_fifd.h31 QUIC_TXPIM *txpim; member
56 QUIC_TXPIM *txpim,
H A Dquic_txp.h41 QUIC_TXPIM *txpim; /* QUIC TX'd Packet Information Manager */ member
/freebsd/crypto/openssl/doc/designs/quic-design/
H A Dquic-fifm.md276 ![](images/quic-fifm-txpim.png "QUIC TXPIM Overview")
357 void ossl_quic_txpim_free(QUIC_TXPIM *txpim);
364 QUIC_TXPIM_PKT *ossl_quic_txpim_pkt_alloc(QUIC_TXPIM *txpim);
369 void ossl_quic_txpim_pkt_release(QUIC_TXPIM *txpim, QUIC_TXPIM_PKT *fpkt);
401 size_t ossl_quic_txpim_get_in_use(QUIC_TXPIM *txpim);
449 QUIC_TXPIM *txpim,
H A Dtx-packetiser.md25 QUIC_TXPIM *txpim; /* QUIC TX'd Packet Information Manager */