Lines Matching refs:fctx
587 struct mux_channel_confirm_ctx *fctx = ctxt; in mux_confirm_remote_forward() local
593 if ((c = channel_by_id(fctx->cid)) == NULL) { in mux_confirm_remote_forward()
599 if (fctx->fid >= options.num_remote_forwards || in mux_confirm_remote_forward()
600 (options.remote_forwards[fctx->fid].connect_path == NULL && in mux_confirm_remote_forward()
601 options.remote_forwards[fctx->fid].connect_host == NULL)) { in mux_confirm_remote_forward()
602 xasprintf(&failmsg, "unknown forwarding id %d", fctx->fid); in mux_confirm_remote_forward()
605 rfwd = &options.remote_forwards[fctx->fid]; in mux_confirm_remote_forward()
617 buffer_put_int(&out, fctx->rid); in mux_confirm_remote_forward()
623 buffer_put_int(&out, fctx->rid); in mux_confirm_remote_forward()
650 buffer_put_int(&out, fctx->rid); in mux_confirm_remote_forward()
799 struct mux_channel_confirm_ctx *fctx; in process_mux_open_fwd() local
805 fctx = xcalloc(1, sizeof(*fctx)); in process_mux_open_fwd()
806 fctx->cid = c->self; in process_mux_open_fwd()
807 fctx->rid = rid; in process_mux_open_fwd()
808 fctx->fid = options.num_remote_forwards - 1; in process_mux_open_fwd()
810 fctx); in process_mux_open_fwd()