Lines Matching defs:C2S
37 enum direction { S2C, C2S };
41 int *c2s, *s2c;
51 int mydirection = ssh == ctx->client ? S2C : C2S;
52 int *packet_count = mydirection == S2C ? ctx->s2c : ctx->c2s;
58 mydirection == S2C ? "s2c" : "c2s",
187 debug("do_send_and_receive C2S: %s", ssh_err(r));
199 do_kex_with_key(const char *kex, struct sshkey *prvkey, int *c2s, int *s2c,
230 hook_ctx.c2s = c2s;
324 " -D S2C|C2S Packet direction for replacement or dump\n"
348 int s2c = 0, c2s = 0; /* packet counts */
375 else if (strcasecmp(optarg, "c2s") == 0)
376 direction = C2S;
446 do_kex_with_key(kex, key, &c2s, &s2c,
455 printf("C2S: %d\n", c2s);