Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/tcp_ao/
H A Drst.c98 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in test_server_active_rst()
141 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in test_server_passive_rst()
153 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in test_server_passive_rst()
275 (i == 0) ? TEST_TIMEOUT_SEC : -1); in test_client_active_rst()
281 err = test_wait_fds(sk, last, is_writable, last, TEST_TIMEOUT_SEC); in test_client_active_rst()
291 if (test_client_verify(sk[0], packet_sz, quota / packet_sz, TEST_TIMEOUT_SEC)) in test_client_active_rst()
304 err = test_wait_fds(sk, last, NULL, last, TEST_TIMEOUT_SEC); in test_client_active_rst()
344 if (test_client_verify(sk, packet_sz, quota / packet_sz, TEST_TIMEOUT_SEC)) in test_client_passive_rst()
420 err = test_client_verify(sk, packet_sz, quota / packet_sz, 2 * TEST_TIMEOUT_SEC); in test_client_passive_rst()
H A Dseq-ext.c82 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in server_fn()
92 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in server_fn()
128 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in server_fn()
194 if (test_client_verify(sk, msg_len, nr_packets, TEST_TIMEOUT_SEC)) { in client_fn()
219 if (test_client_verify(sk, msg_len, nr_packets, TEST_TIMEOUT_SEC)) in client_fn()
H A Drestore.c34 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in try_server_run()
44 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in try_server_run()
54 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; in try_server_run()
128 if (test_client_verify(sk, msg_len, nr_packets, TEST_TIMEOUT_SEC)) in test_get_sk_checkpoint()
168 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; in test_sk_restore()
H A Dself-connect.c67 sizeof(addr), TEST_TIMEOUT_SEC) < 0) { in tcp_self_connect()
73 if (test_client_verify(sk, 100, nr_packets, TEST_TIMEOUT_SEC)) { in tcp_self_connect()
139 if (test_client_verify(sk, 100, nr_packets, TEST_TIMEOUT_SEC)) { in tcp_self_connect()
H A Dconnect.c17 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in server_fn()
56 if (test_client_verify(sk, 100, nr_packets, TEST_TIMEOUT_SEC)) { in client_fn()
H A Dkey-management.c806 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in start_server()
821 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in start_server()
875 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in server_rotations()
921 if (test_client_verify(sk, msg_sz, msg_nr, TEST_TIMEOUT_SEC)) { in run_client()
1019 if (test_client_verify(sk, msg_len, nr_packets, TEST_TIMEOUT_SEC)) in try_unmatched_keys()
1064 if (test_client_verify(sk, msg_len, nr_packets, TEST_TIMEOUT_SEC)) in check_current_back()
1102 if (test_client_verify(sk, msg_len, nr_packets, TEST_TIMEOUT_SEC)) { in roll_over_keys()
H A Dconnect-deny.c54 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; in try_accept()
182 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; in try_connect()
H A Dunsigned-md5.c71 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; in try_accept()
284 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; in try_connect()
453 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; in try_to_add()
H A Dicmps-accept.c124 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in server_fn()
398 const unsigned int timeout = TEST_TIMEOUT_SEC; in send_interfered()
H A Dicmps-discard.c124 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in server_fn()
398 const unsigned int timeout = TEST_TIMEOUT_SEC; in send_interfered()
H A Dbench-lookups.c191 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in bench_connect_srv()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Daolib.h324 #ifndef TEST_TIMEOUT_SEC
325 #define TEST_TIMEOUT_SEC 5 macro
351 return _test_connect_socket(sk, taddr, port, TEST_TIMEOUT_SEC); in test_connect_socket()
H A Dftrace.c425 final_wait_for_events(tracer, TEST_TIMEOUT_SEC); in __destroy_ftracer()