Lines Matching refs:chanid
1700 sessions[id].chanid = -1; in session_unused()
1763 s->chanid, in session_dump()
1769 session_open(Authctxt *authctxt, int chanid) in session_open() argument
1772 debug("session_open: channel %d", chanid); in session_open()
1781 debug("session_open: session %d: link with channel %d", s->self, chanid); in session_open()
1782 s->chanid = chanid; in session_open()
1808 if (s->used && s->chanid == id) { in session_by_channel()
2128 if (s->chanid == -1) in session_set_fds()
2130 channel_set_fds(s->chanid, in session_set_fds()
2253 if ((c = channel_lookup(s->chanid)) == NULL) in session_exit_message()
2255 s->self, s->chanid); in session_exit_message()
2257 s->self, s->chanid, (long)s->pid); in session_exit_message()
2260 channel_request_start(s->chanid, "exit-status", 0); in session_exit_message()
2264 channel_request_start(s->chanid, "exit-signal", 0); in session_exit_message()
2280 debug("session_exit_message: release channel %d", s->chanid); in session_exit_message()
2340 if (s->chanid != -1) in session_close_by_pid()
2374 channel_cancel_cleanup(s->chanid); in session_close_by_channel()
2384 s->chanid = -1; in session_close_by_channel()