/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | connect-deny.c | 111 this_ip_dest, -1, 100, 100, 0, in server_fn() 115 this_ip_dest, -1, 100, 100, 0, in server_fn() 119 this_ip_dest, -1, 100, 100, 0, in server_fn() 123 this_ip_dest, -1, 100, 101, 0, in server_fn() 127 this_ip_dest, -1, 101, 100, 0, in server_fn() 131 this_ip_dest, -1, 100, 100, 8, in server_fn() 139 this_ip_dest, -1, 100, 100, 0, NULL, 0, FAULT_TIMEOUT); in server_fn() 142 this_ip_dest, -1, 200, 100, 0, in server_fn() 153 this_ip_dest, -1, 100, 100, 0, in server_fn() 183 ret = _test_connect_socket(sk, this_ip_dest, port, timeout); in try_connect() [all …]
|
H A D | unsigned-md5.c | 31 this_ip_addr, this_ip_dest, test_vrf_tabid); in setup_vrfs() 166 &this_ip_dest, TEST_PREFIX, true, in server_fn() 169 &this_ip_dest, TEST_PREFIX, true, in server_fn() 192 &this_ip_dest, TEST_PREFIX, &client2, TEST_PREFIX, 0, in server_fn() 195 &this_ip_dest, TEST_PREFIX, &client2, TEST_PREFIX, 0, in server_fn() 199 &this_ip_dest, TEST_PREFIX, &client2, TEST_PREFIX, 0, in server_fn() 203 &this_ip_dest, TEST_PREFIX, &client2, TEST_PREFIX, 0, in server_fn() 206 &this_ip_dest, TEST_PREFIX, &client2, TEST_PREFIX, 0, in server_fn() 209 &this_ip_dest, TEST_PREFIX, &client2, TEST_PREFIX, 0, in server_fn() 212 &this_ip_dest, TEST_PREFIX, &client2, TEST_PREFIX, 0, in server_fn() [all …]
|
H A D | restore.c | 30 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in try_server_run() 120 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in test_get_sk_checkpoint() 124 if (test_connect_socket(sk, this_ip_dest, server_port) <= 0) in test_get_sk_checkpoint() 157 test_sock_restore(sk, img, saddr, this_ip_dest, server_port); in test_sk_restore() 158 if (test_add_repaired_key(sk, DEFAULT_TEST_PASSWORD, 0, this_ip_dest, -1, 100, 100)) in test_sk_restore() 211 trace_ao_event_expect(TCP_AO_MISMATCH, this_ip_addr, this_ip_dest, in client_fn() 213 trace_ao_event_expect(TCP_AO_MISMATCH, this_ip_dest, this_ip_addr, in client_fn() 220 trace_ao_event_expect(TCP_AO_MISMATCH, this_ip_addr, this_ip_dest, in client_fn() 222 trace_ao_event_expect(TCP_AO_MISMATCH, this_ip_dest, this_ip_addr, in client_fn() 229 trace_ao_event_expect(TCP_AO_MISMATCH, this_ip_addr, this_ip_dest, in client_fn() [all …]
|
H A D | seq-ext.c | 77 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in server_fn() 116 sk = test_sk_restore(&img, &ao_img, &saddr, this_ip_dest, in server_fn() 120 this_ip_dest, test_server_port + 1, client_new_port, 1); in server_fn() 121 trace_ao_event_sne_expect(TCP_AO_SND_SNE_UPDATE, this_ip_dest, in server_fn() 124 this_ip_dest, test_server_port + 1, client_new_port, 1); in server_fn() 125 trace_ao_event_sne_expect(TCP_AO_RCV_SNE_UPDATE, this_ip_dest, in server_fn() 186 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in client_fn() 190 if (test_connect_socket(sk, this_ip_dest, test_server_port) <= 0) in client_fn() 215 sk = test_sk_restore(&img, &ao_img, &saddr, this_ip_dest, in client_fn()
|
H A D | key-management.c | 32 this_ip_addr, this_ip_dest, test_vrf_tabid); in setup_vrfs() 45 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, in prepare_sk() 75 tcp_addr_to_sockaddr_in(&del.addr, &this_ip_dest, 0); in test_del_key() 96 tcp_addr_to_sockaddr_in(&sockaddr, &this_ip_dest, 0); in test_del_key() 238 sk = prepare_sk(&this_ip_dest, 200, 200); in check_closed_socket() 243 sk = prepare_sk(&this_ip_dest, 200, 200); in check_closed_socket() 250 sk = prepare_sk(&this_ip_dest, 200, 200); in check_closed_socket() 251 if (test_add_key(sk, "Glory to heros!", this_ip_dest, in check_closed_socket() 254 if (test_add_key(sk, "Glory to Ukraine!", this_ip_dest, in check_closed_socket() 263 sk = prepare_sk(&this_ip_dest, 200, 200); in check_closed_socket() [all …]
|
H A D | rst.c | 92 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in test_server_active_rst() 137 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in test_server_passive_rst() 268 this_ip_dest, -1, 100, 100)) in test_client_active_rst() 274 err = _test_connect_socket(sk[i], this_ip_dest, port, in test_client_active_rst() 286 err = _test_connect_socket(sk[last], this_ip_dest, port, -1); in test_client_active_rst() 336 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in test_client_passive_rst() 340 if (test_connect_socket(sk, this_ip_dest, port) <= 0) in test_client_passive_rst() 395 test_sock_restore(sk, &img, &saddr, this_ip_dest, port); in test_client_passive_rst() 396 if (test_add_repaired_key(sk, DEFAULT_TEST_PASSWORD, 0, this_ip_dest, -1, 100, 100)) in test_client_passive_rst()
|
H A D | setsockopt-closed.c | 139 if (test_prepare_def_key(add, DEFAULT_TEST_PASSWORD, 0, this_ip_dest, in prepare_defs() 147 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, in prepare_defs() 154 tcp_addr_to_sockaddr_in(&del->addr, &this_ip_dest, 0); in prepare_defs() 160 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, in prepare_defs() 169 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, in prepare_defs() 297 tcp_addr_to_sockaddr_in(&ao.addr, &this_ip_dest, 1234); in test_einval_add_key() 396 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, DEFAULT_TEST_PREFIX, 0, 0)) in test_einval_del_key() 403 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, DEFAULT_TEST_PREFIX, 0, 0)) in test_einval_del_key() 410 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, DEFAULT_TEST_PREFIX, 0, 0)) in test_einval_del_key() 444 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, DEFAULT_TEST_PREFIX, 0, 0)) in test_einval_del_key() [all …]
|
H A D | connect.c | 13 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in server_fn() 43 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in client_fn() 47 if (test_connect_socket(sk, this_ip_dest, test_server_port) <= 0) in client_fn()
|
H A D | bench-lookups.c | 260 if (test_connect_socket(sk, this_ip_dest, test_server_port + *p) <= 0) in connect_client() 284 ret = ip_route_add(veth_name, TEST_FAMILY, taddr, this_ip_dest); in client_addr_setup() 313 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, in bench_connect_client()
|
H A D | icmps-accept.c | 120 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in server_fn() 429 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in client_fn() 433 if (test_connect_socket(sk, this_ip_dest, test_server_port) <= 0) in client_fn()
|
H A D | icmps-discard.c | 120 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in server_fn() 429 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in client_fn() 433 if (test_connect_socket(sk, this_ip_dest, test_server_port) <= 0) in client_fn()
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | setup.c | 200 __thread union tcp_addr this_ip_dest; variable 213 this_ip_dest = p->dest_ip; in new_pthread_entry() 277 this_ip_dest = addr2; in __test_init()
|
H A D | aolib.h | 268 extern __thread union tcp_addr this_ip_dest;
|