Lines Matching refs:hook_ctx
39 struct hook_ctx { struct
50 struct hook_ctx *ctx = (struct hook_ctx *)_ctx; in packet_hook() argument
209 struct hook_ctx hook_ctx; in do_kex_with_key() local
230 hook_ctx.c2s = c2s; in do_kex_with_key()
231 hook_ctx.s2c = s2c; in do_kex_with_key()
232 hook_ctx.trigger_direction = direction; in do_kex_with_key()
233 hook_ctx.packet_index = packet_index; in do_kex_with_key()
234 hook_ctx.dump_path = dump_path; in do_kex_with_key()
235 hook_ctx.replace_data = replace_data; in do_kex_with_key()
236 hook_ctx.client = client; in do_kex_with_key()
237 hook_ctx.server = server; in do_kex_with_key()
238 hook_ctx.server2 = server2; in do_kex_with_key()
239 ssh_packet_set_input_hook(client, packet_hook, &hook_ctx); in do_kex_with_key()
240 ssh_packet_set_input_hook(server, packet_hook, &hook_ctx); in do_kex_with_key()
241 ssh_packet_set_input_hook(server2, packet_hook, &hook_ctx); in do_kex_with_key()