Lines Matching full:img
19 static void test_adjust_seqs(struct tcp_sock_state *img, in test_adjust_seqs() argument
34 img->in.seq = new_seq1; in test_adjust_seqs()
35 img->trw.snd_wl1 = img->in.seq - msg_len; in test_adjust_seqs()
36 img->out.seq = new_seq2; in test_adjust_seqs()
37 img->trw.rcv_wup = img->in.seq; in test_adjust_seqs()
40 static int test_sk_restore(struct tcp_sock_state *img, in test_sk_restore() argument
52 test_sock_restore(sk, img, saddr, daddr, dport); in test_sk_restore()
61 test_sock_state_free(img); in test_sk_restore()
69 struct tcp_sock_state img; in server_fn() local
106 test_sock_checkpoint(sk, &img, &saddr); 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()
177 struct tcp_sock_state img; in client_fn() local
203 test_sock_checkpoint(sk, &img, &saddr); in client_fn()
213 test_adjust_seqs(&img, &ao_img, false); in client_fn()
215 sk = test_sk_restore(&img, &ao_img, &saddr, this_ip_dest, in client_fn()