version 1.296, 2017/05/03 21:08:09 |
version 1.297, 2017/05/30 14:23:52 |
|
|
} |
} |
|
|
static int |
static int |
client_global_request_reply(int type, u_int32_t seq, void *ctxt) |
client_global_request_reply(int type, u_int32_t seq, struct ssh *ssh) |
{ |
{ |
struct global_confirm *gc; |
struct global_confirm *gc; |
|
|
|
|
|
|
/* XXXX move to generic input handler */ |
/* XXXX move to generic input handler */ |
static int |
static int |
client_input_channel_open(int type, u_int32_t seq, void *ctxt) |
client_input_channel_open(int type, u_int32_t seq, struct ssh *ssh) |
{ |
{ |
Channel *c = NULL; |
Channel *c = NULL; |
char *ctype; |
char *ctype; |
|
|
} |
} |
|
|
static int |
static int |
client_input_channel_req(int type, u_int32_t seq, void *ctxt) |
client_input_channel_req(int type, u_int32_t seq, struct ssh *ssh) |
{ |
{ |
Channel *c = NULL; |
Channel *c = NULL; |
int exitval, id, reply, success = 0; |
int exitval, id, reply, success = 0; |
|
|
|
|
id = packet_get_int(); |
id = packet_get_int(); |
c = channel_lookup(id); |
c = channel_lookup(id); |
if (channel_proxy_upstream(c, type, seq, ctxt)) |
if (channel_proxy_upstream(c, type, seq, ssh)) |
return 0; |
return 0; |
rtype = packet_get_string(NULL); |
rtype = packet_get_string(NULL); |
reply = packet_get_char(); |
reply = packet_get_char(); |
|
|
} |
} |
|
|
static int |
static int |
client_input_global_request(int type, u_int32_t seq, void *ctxt) |
client_input_global_request(int type, u_int32_t seq, struct ssh *ssh) |
{ |
{ |
char *rtype; |
char *rtype; |
int want_reply; |
int want_reply; |