Lines Matching refs:chanid
1904 sessions[id].chanid = -1; in session_unused()
1967 s->chanid, in session_dump()
1973 session_open(Authctxt *authctxt, int chanid) in session_open() argument
1976 debug("session_open: channel %d", chanid); in session_open()
1985 debug("session_open: session %d: link with channel %d", s->self, chanid); in session_open()
1986 s->chanid = chanid; in session_open()
2012 if (s->used && s->chanid == id) { in session_by_channel()
2336 if (s->chanid == -1) in session_set_fds()
2338 channel_set_fds(s->chanid, in session_set_fds()
2461 if ((c = channel_lookup(s->chanid)) == NULL) in session_exit_message()
2463 s->self, s->chanid); in session_exit_message()
2465 s->self, s->chanid, (long)s->pid); in session_exit_message()
2468 channel_request_start(s->chanid, "exit-status", 0); in session_exit_message()
2472 channel_request_start(s->chanid, "exit-signal", 0); in session_exit_message()
2488 debug("session_exit_message: release channel %d", s->chanid); in session_exit_message()
2542 if (s->chanid != -1) in session_close_by_pid()
2576 channel_cancel_cleanup(s->chanid); in session_close_by_channel()
2586 s->chanid = -1; in session_close_by_channel()