/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | connect-deny.c | 114 try_accept("AO server + Non-AO client", port++, DEFAULT_TEST_PASSWORD, in server_fn() 122 try_accept("Wrong rcv id", port++, DEFAULT_TEST_PASSWORD, in server_fn() 126 try_accept("Wrong snd id", port++, DEFAULT_TEST_PASSWORD, in server_fn() 130 try_accept("Different maclen", port++, DEFAULT_TEST_PASSWORD, in server_fn() 134 try_accept("Server: Wrong addr", port++, DEFAULT_TEST_PASSWORD, in server_fn() 141 try_accept("rcv id != snd id", port++, DEFAULT_TEST_PASSWORD, in server_fn() 148 try_accept("Server: prefix match", port++, DEFAULT_TEST_PASSWORD, in server_fn() 152 try_accept("Client: prefix match", port++, DEFAULT_TEST_PASSWORD, in server_fn() 226 try_connect("Non-AO server + AO client", port++, DEFAULT_TEST_PASSWORD, in client_fn() 236 try_connect("Wrong password", port++, DEFAULT_TEST_PASSWORD, in client_fn() [all …]
|
H A D | self-connect.c | 49 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, local_addr, -1, 5, 7)) in tcp_self_connect() 51 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, local_addr, -1, 7, 5)) in tcp_self_connect() 54 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, local_addr, -1, 100, 100)) in tcp_self_connect() 125 if (test_add_repaired_key(sk, DEFAULT_TEST_PASSWORD, 0, in tcp_self_connect() 128 if (test_add_repaired_key(sk, DEFAULT_TEST_PASSWORD, 0, in tcp_self_connect() 132 if (test_add_repaired_key(sk, DEFAULT_TEST_PASSWORD, 0, in tcp_self_connect()
|
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() 267 if (test_add_key(sk[i], DEFAULT_TEST_PASSWORD, 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() 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 | 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()
|
H A D | seq-ext.c | 53 if (test_add_repaired_key(sk, DEFAULT_TEST_PASSWORD, 0, daddr, -1, 100, 100)) in test_sk_restore() 77 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in server_fn() 186 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in client_fn()
|
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() 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() 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() 450 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, DEFAULT_TEST_PREFIX, 0, 0)) in test_einval_del_key() 456 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, DEFAULT_TEST_PREFIX, 0, 0)) in test_einval_del_key()
|
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() 158 if (test_add_repaired_key(sk, DEFAULT_TEST_PASSWORD, 0, this_ip_dest, -1, 100, 100)) in test_sk_restore()
|
H A D | bench-lookups.c | 64 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, *p, -1, 100, 100)) in server_apply_keys() 140 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, *p, -1, 100, 100)) in add_back_mkt() 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()
|
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()
|
H A D | unsigned-md5.c | 8 static const char *ao_password = DEFAULT_TEST_PASSWORD;
|
H A D | key-management.c | 45 if (test_add_key(sk, DEFAULT_TEST_PASSWORD, this_ip_dest, in prepare_sk()
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | kconfig.c | 48 const char *password = DEFAULT_TEST_PASSWORD; in has_tcp_ao() 89 if (test_set_md5(sk, addr_any, 0, -1, DEFAULT_TEST_PASSWORD)) { in has_tcp_md5()
|
H A D | aolib.h | 309 #define DEFAULT_TEST_PASSWORD "In this hour, I do not believe that any darkness will endure." macro
|