Lines Matching refs:nc
307 Channel *nc;
450 nc = channel_new("session", SSH_CHANNEL_OPENING,
454 nc->ctl_chan = c->self; /* link session -> control channel */
455 c->remote_id = nc->self; /* link control -> session channel */
458 channel_register_filter(nc->self,
465 __func__, nc->self, nc->ctl_chan);
467 channel_send_open(nc->self);
468 channel_register_open_confirm(nc->self, mux_session_confirm, cctx);
470 channel_register_cleanup(nc->self, mux_master_session_cleanup_cb, 1);
886 Channel *nc;
959 nc = channel_connect_stdio_fwd(chost, cport, new_fd[0], new_fd[1]);
961 nc->ctl_chan = c->self; /* link session -> control channel */
962 c->remote_id = nc->self; /* link control -> session channel */
965 __func__, nc->self, nc->ctl_chan);
967 channel_register_cleanup(nc->self, mux_master_session_cleanup_cb, 1);
973 buffer_put_int(r, nc->self);