Lines Matching refs:fault
70 static int add_unknown_frame_cb(QTEST_FAULT *fault, QUIC_PKT_HDR *hdr, in add_unknown_frame_cb() argument
87 return qtest_fault_prepend_frame(fault, unknown_frame, in add_unknown_frame_cb()
101 QTEST_FAULT *fault = NULL; in test_unknown_frame() local
108 &qtserv, &cssl, &fault, NULL))) in test_unknown_frame()
118 if (!TEST_true(qtest_fault_set_packet_plain_listener(fault, in test_unknown_frame()
153 qtest_fault_free(fault); in test_unknown_frame()
164 static int drop_extensions_cb(QTEST_FAULT *fault, in drop_extensions_cb() argument
170 if (!qtest_fault_delete_extension(fault, *ext, ee->extensions, in drop_extensions_cb()
183 QTEST_FAULT *fault = NULL; in test_drop_extensions() local
190 &qtserv, &cssl, &fault, NULL))) in test_drop_extensions()
201 if (!TEST_true(qtest_fault_set_hand_enc_ext_listener(fault, in test_drop_extensions()
218 qtest_fault_free(fault); in test_drop_extensions()
230 static int on_packet_cipher_cb(QTEST_FAULT *fault, QUIC_PKT_HDR *hdr, in on_packet_cipher_cb() argument
242 static int on_datagram_cb(QTEST_FAULT *fault, BIO_MSG *m, size_t stride, in on_datagram_cb() argument
248 if (!qtest_fault_resize_datagram(fault, m->data_len - 1)) in on_datagram_cb()
262 QTEST_FAULT *fault = NULL; in test_corrupted_data() local
278 &cssl, &fault, NULL))) in test_corrupted_data()
283 if (!TEST_true(qtest_fault_set_packet_cipher_listener(fault, in test_corrupted_data()
289 if (!TEST_true(qtest_fault_set_datagram_listener(fault, in test_corrupted_data()
365 qtest_fault_free(fault); in test_corrupted_data()