version 1.248, 2006/03/28 01:52:28 |
version 1.249, 2006/03/30 09:41:25 |
|
|
|
|
|
|
/* -- protocol input */ |
/* -- protocol input */ |
|
|
|
/* ARGSUSED */ |
void |
void |
channel_input_data(int type, u_int32_t seq, void *ctxt) |
channel_input_data(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
xfree(data); |
xfree(data); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
channel_input_extended_data(int type, u_int32_t seq, void *ctxt) |
channel_input_extended_data(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
xfree(data); |
xfree(data); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
channel_input_ieof(int type, u_int32_t seq, void *ctxt) |
channel_input_ieof(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
|
|
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
channel_input_close(int type, u_int32_t seq, void *ctxt) |
channel_input_close(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
} |
} |
|
|
/* proto version 1.5 overloads CLOSE_CONFIRMATION with OCLOSE */ |
/* proto version 1.5 overloads CLOSE_CONFIRMATION with OCLOSE */ |
|
/* ARGSUSED */ |
void |
void |
channel_input_oclose(int type, u_int32_t seq, void *ctxt) |
channel_input_oclose(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
chan_rcvd_oclose(c); |
chan_rcvd_oclose(c); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
channel_input_close_confirmation(int type, u_int32_t seq, void *ctxt) |
channel_input_close_confirmation(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
channel_free(c); |
channel_free(c); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
channel_input_open_confirmation(int type, u_int32_t seq, void *ctxt) |
channel_input_open_confirmation(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
return "unknown reason"; |
return "unknown reason"; |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
channel_input_open_failure(int type, u_int32_t seq, void *ctxt) |
channel_input_open_failure(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
channel_free(c); |
channel_free(c); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
channel_input_window_adjust(int type, u_int32_t seq, void *ctxt) |
channel_input_window_adjust(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
c->remote_window += adjust; |
c->remote_window += adjust; |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
channel_input_port_open(int type, u_int32_t seq, void *ctxt) |
channel_input_port_open(int type, u_int32_t seq, void *ctxt) |
{ |
{ |