Lines Matching refs:nc
310 Channel *nc;
453 nc = channel_new("session", SSH_CHANNEL_OPENING,
457 nc->ctl_chan = c->self; /* link session -> control channel */
458 c->remote_id = nc->self; /* link control -> session channel */
461 channel_register_filter(nc->self,
468 __func__, nc->self, nc->ctl_chan);
470 channel_send_open(nc->self);
471 channel_register_open_confirm(nc->self, mux_session_confirm, cctx);
473 channel_register_cleanup(nc->self, mux_master_session_cleanup_cb, 1);
927 Channel *nc;
1001 nc = channel_connect_stdio_fwd(chost, cport, new_fd[0], new_fd[1]);
1003 nc->ctl_chan = c->self; /* link session -> control channel */
1004 c->remote_id = nc->self; /* link control -> session channel */
1007 __func__, nc->self, nc->ctl_chan);
1009 channel_register_cleanup(nc->self, mux_master_session_cleanup_cb, 1);
1013 channel_register_open_confirm(nc->self, mux_stdio_confirm, cctx);