/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | rst.c | 98 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 D | seq-ext.c | 82 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 D | restore.c | 34 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 D | self-connect.c | 67 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 D | connect.c | 17 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 D | key-management.c | 806 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 D | connect-deny.c | 54 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 D | unsigned-md5.c | 71 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 D | icmps-accept.c | 124 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 D | icmps-discard.c | 124 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 D | bench-lookups.c | 191 if (test_wait_fd(lsk, TEST_TIMEOUT_SEC, 0)) in bench_connect_srv()
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | aolib.h | 324 #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 D | ftrace.c | 425 final_wait_for_events(tracer, TEST_TIMEOUT_SEC); in __destroy_ftracer()
|