Lines Matching refs:chanid
1707 sessions[id].chanid = -1; in session_unused()
1770 s->chanid, in session_dump()
1776 session_open(Authctxt *authctxt, int chanid) in session_open() argument
1779 debug("session_open: channel %d", chanid); in session_open()
1788 debug("session_open: session %d: link with channel %d", s->self, chanid); in session_open()
1789 s->chanid = chanid; in session_open()
1815 if (s->used && s->chanid == id) { in session_by_channel()
2135 if (s->chanid == -1) in session_set_fds()
2137 channel_set_fds(s->chanid, in session_set_fds()
2260 if ((c = channel_lookup(s->chanid)) == NULL) in session_exit_message()
2262 s->self, s->chanid); in session_exit_message()
2264 s->self, s->chanid, (long)s->pid); in session_exit_message()
2267 channel_request_start(s->chanid, "exit-status", 0); in session_exit_message()
2271 channel_request_start(s->chanid, "exit-signal", 0); in session_exit_message()
2287 debug("session_exit_message: release channel %d", s->chanid); in session_exit_message()
2347 if (s->chanid != -1) in session_close_by_pid()
2381 channel_cancel_cleanup(s->chanid); in session_close_by_channel()
2391 s->chanid = -1; in session_close_by_channel()