Home
last modified time | relevance | path

Searched refs:pkts (Results 1 – 5 of 5) sorted by relevance

/openssl/test/
H A Dquic_txpim_test.c19 QUIC_TXPIM_PKT *pkts[10] = {NULL}; in test_txpim() local
26 for (i = 0; i < OSSL_NELEM(pkts); ++i) { in test_txpim()
27 if (!TEST_ptr(pkts[i] = ossl_quic_txpim_pkt_alloc(txpim))) in test_txpim()
30 if (!TEST_size_t_eq(ossl_quic_txpim_pkt_get_num_chunks(pkts[i]), 0)) in test_txpim()
38 if (!TEST_true(ossl_quic_txpim_pkt_append_chunk(pkts[i], chunks + j))) in test_txpim()
42 if (!TEST_size_t_eq(ossl_quic_txpim_pkt_get_num_chunks(pkts[i]), in test_txpim()
46 rchunks = ossl_quic_txpim_pkt_get_chunks(pkts[i]); in test_txpim()
55 for (i = 0; i < OSSL_NELEM(pkts); ++i) 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()
H A Dquic_ackm_test.c49 struct pkt_info *pkts; member
75 if (h->pkts != NULL) { in helper_destroy()
78 h->pkts[i].pkt = NULL; in helper_destroy()
81 OPENSSL_free(h->pkts); in helper_destroy()
82 h->pkts = NULL; in helper_destroy()
115 if (!TEST_ptr(h->pkts)) in helper_init()
118 h->pkts = NULL; in helper_init()
912 struct pkt_info *pkts = NULL; in test_rx_ack_actual() local
941 pkts = OPENSSL_zalloc(sizeof(*pkts) * num_tx); in test_rx_ack_actual()
942 if (!TEST_ptr(pkts)) in test_rx_ack_actual()
[all …]
H A Dquic_cc_test.c102 PRIORITY_QUEUE_OF(NET_PKT) *pkts;
122 if (!TEST_ptr(s->pkts = ossl_pqueue_NET_PKT_new(net_pkt_cmp))) in net_sim_init()
135 ossl_pqueue_NET_PKT_pop_free(s->pkts, do_free); in net_sim_cleanup()
190 if (!TEST_true(ossl_pqueue_NET_PKT_push(s->pkts, pkt, &pkt->idx))) in net_sim_send()
202 NET_PKT *pkt = ossl_pqueue_NET_PKT_peek(s->pkts); in net_sim_process_one()
217 ossl_pqueue_NET_PKT_pop(s->pkts); in net_sim_process_one()
219 if (!ossl_pqueue_NET_PKT_push(s->pkts, pkt, &pkt->idx)) in net_sim_process_one()
244 ossl_pqueue_NET_PKT_pop(s->pkts); in net_sim_process_one()
256 ossl_pqueue_NET_PKT_pop(s->pkts); in net_sim_process_one()
/openssl/test/helpers/
H A Dssltestlib.c271 STACK_OF(MEMPACKET) *pkts;
334 sk_MEMPACKET_pop_free(ctx->pkts, mempacket_free); in mempacket_test_free()
365 (void)sk_MEMPACKET_shift(ctx->pkts); in mempacket_test_read()
430 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_swap_epoch()
507 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_move_packet()
518 thispkt = sk_MEMPACKET_value(ctx->pkts, s); in mempacket_move_packet()
523 if (sk_MEMPACKET_delete(ctx->pkts, s) != thispkt) in mempacket_move_packet()
532 thispkt = sk_MEMPACKET_value(ctx->pkts, i); in mempacket_move_packet()
597 for (i = 0; i < sk_MEMPACKET_num(ctx->pkts); i++) { in mempacket_test_inject()
636 if (!sk_MEMPACKET_push(ctx->pkts, thispkt)) in mempacket_test_inject()
[all …]
/openssl/crypto/err/
H A Dopenssl.txt1455 SSL_R_MAXIMUM_ENCRYPTED_PKTS_REACHED:395:maximum encrypted pkts reached

Completed in 37 milliseconds