Lines Matching refs:helper
30 struct helper *h;
51 struct helper { struct
94 int (*qtf_packet_plain_cb)(struct helper *h, QUIC_PKT_HDR *hdr, argument
96 int (*qtf_handshake_cb)(struct helper *h, argument
98 int (*qtf_datagram_cb)(struct helper *h, argument
114 struct helper *h; argument
125 int (*check_func)(struct helper *h, struct helper_local *hl);
128 int (*qtf_packet_plain_cb)(struct helper *h, QUIC_PKT_HDR *hdr,
130 int (*qtf_handshake_cb)(struct helper *h,
132 int (*qtf_datagram_cb)(struct helper *h,
342 struct helper *h = arg; in get_time()
354 static int skip_time_ms(struct helper *h, struct helper_local *hl) in skip_time_ms()
365 static QUIC_TSERVER *s_lock(struct helper *h, struct helper_local *hl);
366 static void s_unlock(struct helper *h, struct helper_local *hl);
371 static int check_rejected(struct helper *h, struct helper_local *hl) in check_rejected()
384 static int check_stream_reset(struct helper *h, struct helper_local *hl) in check_stream_reset()
396 static int check_stream_stopped(struct helper *h, struct helper_local *hl) in check_stream_stopped()
408 static int override_key_update(struct helper *h, struct helper_local *hl) in override_key_update()
416 static int trigger_key_update(struct helper *h, struct helper_local *hl) in trigger_key_update()
424 static int check_key_update_ge(struct helper *h, struct helper_local *hl) in check_key_update_ge()
445 static int check_key_update_lt(struct helper *h, struct helper_local *hl) in check_key_update_lt()
510 static int join_server_thread(struct helper *h) in join_server_thread()
529 static int *s_checked_out_p(struct helper *h, int thread_idx) in s_checked_out_p()
535 static QUIC_TSERVER *s_lock(struct helper *h, struct helper_local *hl) in s_lock()
549 static void s_unlock(struct helper *h, struct helper_local *hl) in s_unlock()
563 struct helper *h = arg; in server_helper_thread()
597 static QUIC_TSERVER *s_lock(struct helper *h, struct helper_local *hl) in s_lock()
602 static void s_unlock(struct helper *h, struct helper_local *hl) in s_unlock()
607 static void helper_cleanup(struct helper *h) in helper_cleanup()
676 static int helper_init(struct helper *h, const char *script_name, in helper_init()
847 static int helper_local_init(struct helper_local *hl, struct helper *h, in helper_local_init()
936 helper_set_s_stream(struct helper *h, const char *stream_name, in helper_set_s_stream()
953 static uint64_t helper_get_s_stream(struct helper *h, const char *stream_name) in helper_get_s_stream()
971 struct helper *h = arg; in helper_packet_plain_listener()
980 struct helper *h = arg; in helper_handshake_listener()
989 struct helper *h = arg; in helper_datagram_listener()
1024 static int run_script_worker(struct helper *h, const struct script_op *script, in run_script_worker()
2088 struct helper h; in run_script()
2724 static int script_20_trigger(struct helper *h, volatile uint64_t *counter) in script_20_trigger()
2735 static int script_20_wait(struct helper *h, volatile uint64_t *counter, uint64_t threshold) in script_20_wait()
2754 static int script_20_trigger1(struct helper *h, struct helper_local *hl) in script_20_trigger1()
2759 static int script_20_wait1(struct helper *h, struct helper_local *hl) in script_20_wait1()
2764 static int script_20_trigger2(struct helper *h, struct helper_local *hl) in script_20_trigger2()
2769 static int script_20_wait2(struct helper *h, struct helper_local *hl) in script_20_wait2()
2820 static int script_21_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_21_inject_plain()
2872 static int script_22_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_22_inject_plain()
2901 static int script_23_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_23_inject_plain()
2954 static int script_24_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_24_inject_plain()
3064 static int script_28_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_28_inject_plain()
3198 static int script_32_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_32_inject_plain()
3413 static int script_39_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_39_inject_plain()
3562 static int script_41_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_41_inject_plain()
3603 struct helper *h = arg; in script_41_trace()
3634 static int script_41_setup(struct helper *h, struct helper_local *hl) in script_41_setup()
3640 static int script_41_check(struct helper *h, struct helper_local *hl) in script_41_check()
3676 static int script_42_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_42_inject_plain()
3756 static int script_44_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_44_inject_plain()
3807 static int force_ping(struct helper *h, struct helper_local *hl) in force_ping()
3819 static int wait_incoming_acks_increased(struct helper *h, struct helper_local *hl) in wait_incoming_acks_increased()
3856 static int script_46_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_46_inject_plain()
4067 static int script_52_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_52_inject_plain()
4155 static int script_53_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_53_inject_plain()
4233 static int script_54_inject_handshake(struct helper *h, in script_54_inject_handshake()
4329 static int script_58_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_58_inject_plain()
4411 static int init_reason(struct helper *h, struct helper_local *hl) in init_reason()
4419 static int check_shutdown_reason(struct helper *h, struct helper_local *hl) in check_shutdown_reason()
4452 static int script_61_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_61_inject_plain()
4575 static int script_65_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_65_inject_plain()
4632 static int script_66_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, in script_66_inject_plain()
4717 static int script_68_inject_handshake(struct helper *h, unsigned char *msg, in script_68_inject_handshake()
4811 static int set_max_early_data(struct helper *h, struct helper_local *hl) in set_max_early_data()
4861 static int script_72_check(struct helper *h, struct helper_local *hl) in script_72_check()
4936 static int server_gen_version_neg(struct helper *h, BIO_MSG *msg, size_t stride) in server_gen_version_neg()
5014 static int script_76_check(struct helper *h, struct helper_local *hl) in script_76_check()
5076 static int setup_session(struct helper *h, struct helper_local *hl) in setup_session()
5083 static int trigger_late_session_ticket(struct helper *h, struct helper_local *hl) in trigger_late_session_ticket()
5093 static int check_got_session_ticket(struct helper *h, struct helper_local *hl) in check_got_session_ticket()
5101 static int check_idle_timeout(struct helper *h, struct helper_local *hl);
5160 static int script_80_send_stateless_reset(struct helper *h, QUIC_PKT_HDR *hdr, in script_80_send_stateless_reset()
5184 static int script_80_gen_new_conn_id(struct helper *h, QUIC_PKT_HDR *hdr, in script_80_gen_new_conn_id()
5232 static int script_80_inject_pkt(struct helper *h, QUIC_PKT_HDR *hdr, in script_80_inject_pkt()
5261 static int modify_idle_timeout(struct helper *h, struct helper_local *hl) in modify_idle_timeout()
5288 static int check_idle_timeout(struct helper *h, struct helper_local *hl) in check_idle_timeout()
5334 static int cannot_change_idle_timeout(struct helper *h, struct helper_local *hl) in cannot_change_idle_timeout()
5370 static int check_avail_streams(struct helper *h, struct helper_local *hl) in check_avail_streams()
5401 static int set_event_handling_mode_conn(struct helper *h, struct helper_local *hl);
5402 static int reenable_test_event_handling(struct helper *h, struct helper_local *hl);
5404 static int check_write_buf_stat(struct helper *h, struct helper_local *hl) in check_write_buf_stat()
5491 ossl_unused static int script_85_poll(struct helper *h, struct helper_local *hl) in script_85_poll()
5643 static int set_event_handling_mode_conn(struct helper *h, struct helper_local *hl) in set_event_handling_mode_conn()
5649 static int reenable_test_event_handling(struct helper *h, struct helper_local *hl) in reenable_test_event_handling()
5655 static ossl_unused int set_event_handling_mode_stream(struct helper *h, struct helper_local *hl) in set_event_handling_mode_stream()