Lines Matching refs:rfwd
586 struct Forward *rfwd; in mux_confirm_remote_forward() local
600 rfwd = &options.remote_forwards[fctx->fid]; in mux_confirm_remote_forward()
603 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path : in mux_confirm_remote_forward()
604 rfwd->connect_host, rfwd->connect_port); in mux_confirm_remote_forward()
606 if (rfwd->listen_port == 0) { in mux_confirm_remote_forward()
607 rfwd->allocated_port = packet_get_int(); in mux_confirm_remote_forward()
609 " to %s:%d", rfwd->allocated_port, in mux_confirm_remote_forward()
610 rfwd->connect_host, rfwd->connect_port); in mux_confirm_remote_forward()
613 buffer_put_int(&out, rfwd->allocated_port); in mux_confirm_remote_forward()
614 channel_update_permitted_opens(rfwd->handle, in mux_confirm_remote_forward()
615 rfwd->allocated_port); in mux_confirm_remote_forward()
622 if (rfwd->listen_port == 0) in mux_confirm_remote_forward()
623 channel_update_permitted_opens(rfwd->handle, -1); in mux_confirm_remote_forward()
624 if (rfwd->listen_path != NULL) in mux_confirm_remote_forward()
626 "listen path %s", rfwd->listen_path); in mux_confirm_remote_forward()
629 "listen port %d", rfwd->listen_port); in mux_confirm_remote_forward()