Lines Matching refs:pkts

49     struct pkt_info *pkts;  member
75 if (h->pkts != NULL) { in helper_destroy()
77 OPENSSL_free(h->pkts[i].pkt); 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()
114 h->pkts = OPENSSL_zalloc(sizeof(struct pkt_info) * num_pkts); in helper_init()
115 if (!TEST_ptr(h->pkts)) in helper_init()
118 h->pkts = NULL; in helper_init()
362 h.pkts[i].pkt = tx = OPENSSL_zalloc(sizeof(*tx)); in test_tx_ack_case_actual()
375 tx->cb_arg = &h.pkts[i]; in test_tx_ack_case_actual()
390 if (!TEST_int_eq(h.pkts[i].acked, 0)) in test_tx_ack_case_actual()
392 if (!TEST_int_eq(h.pkts[i].lost, 0)) in test_tx_ack_case_actual()
394 if (!TEST_int_eq(h.pkts[i].discarded, 1)) in test_tx_ack_case_actual()
406 if (!TEST_int_eq(h.pkts[i].acked, in test_tx_ack_case_actual()
409 if (!TEST_int_eq(h.pkts[i].lost, in test_tx_ack_case_actual()
412 if (!TEST_int_eq(h.pkts[i].discarded, in test_tx_ack_case_actual()
536 h.pkts[i].pkt = tx = OPENSSL_zalloc(sizeof(*tx)); in test_tx_ack_time_script()
546 tx = h.pkts[pkt_idx + i].pkt; in test_tx_ack_time_script()
557 tx->cb_arg = &h.pkts[pkt_idx + i]; in test_tx_ack_time_script()
589 if (!TEST_int_eq(h.pkts[i].acked, in test_tx_ack_time_script()
592 if (!TEST_int_eq(h.pkts[i].lost, in test_tx_ack_time_script()
595 if (!TEST_int_eq(h.pkts[i].discarded, in test_tx_ack_time_script()
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()
1025 pkts[txi].pkt = tx = &txs[txi]; in test_rx_ack_actual()
1036 tx->cb_arg = &pkts[txi]; in test_rx_ack_actual()
1077 OPENSSL_free(pkts); in test_rx_ack_actual()