Home
last modified time | relevance | path

Searched refs:ao_img (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/testing/selftests/net/tcp_ao/
Drestore.c112 struct tcp_ao_repair *ao_img) in test_get_sk_checkpoint() argument
133 test_ao_checkpoint(sk, ao_img); in test_get_sk_checkpoint()
139 struct tcp_ao_repair *ao_img, in test_sk_restore() argument
160 test_ao_restore(sk, ao_img); in test_sk_restore()
202 struct tcp_ao_repair ao_img; in client_fn() local
205 test_get_sk_checkpoint(port, &saddr, &tcp_img, &ao_img); in client_fn()
207 &saddr, &tcp_img, &ao_img, 0, TEST_CNT_GOOD); in client_fn()
209 test_get_sk_checkpoint(port, &saddr, &tcp_img, &ao_img); in client_fn()
210 ao_img.snt_isn += 1; in client_fn()
216 &saddr, &tcp_img, &ao_img, FAULT_TIMEOUT, TEST_CNT_BAD); in client_fn()
[all …]
Dseq-ext.c20 struct tcp_ao_repair *ao_img, in test_adjust_seqs() argument
41 struct tcp_ao_repair *ao_img, sockaddr_af *saddr, in test_sk_restore() argument
55 test_ao_restore(sk, ao_img); in test_sk_restore()
70 struct tcp_ao_repair ao_img; in server_fn() local
107 test_ao_checkpoint(sk, &ao_img); in server_fn()
114 test_adjust_seqs(&img, &ao_img, true); in server_fn()
116 sk = test_sk_restore(&img, &ao_img, &saddr, this_ip_dest, in server_fn()
158 test_ao_checkpoint(sk, &ao_img); in server_fn()
159 if (ao_img.snd_sne && ao_img.rcv_sne) { in server_fn()
161 ao_img.snd_sne, ao_img.rcv_sne); in server_fn()
[all …]
Dself-connect.c37 struct tcp_ao_repair ao_img; in tcp_self_connect() local
115 test_ao_checkpoint(sk, &ao_img); in tcp_self_connect()
136 test_ao_restore(sk, &ao_img); in tcp_self_connect()
Drst.c327 struct tcp_ao_repair ao_img; in test_client_passive_rst() local
352 test_ao_checkpoint(sk, &ao_img); in test_client_passive_rst()
398 test_ao_restore(sk, &ao_img); in test_client_passive_rst()
Dkey-management.c297 struct tcp_ao_repair ao_img = {}; in assert_no_tcp_repair() local
298 socklen_t len = sizeof(ao_img); in assert_no_tcp_repair()
306 err = getsockopt(sk, SOL_TCP, TCP_AO_REPAIR, &ao_img, &len); in assert_no_tcp_repair()
312 err = setsockopt(sk, SOL_TCP, TCP_AO_REPAIR, &ao_img, sizeof(ao_img)); in assert_no_tcp_repair()