Lines Matching defs:rfwd
573 Forward *rfwd;
587 rfwd = &options.remote_forwards[fctx->fid];
590 rfwd->listen_port, rfwd->connect_host, rfwd->connect_port);
592 if (rfwd->listen_port == 0) {
593 rfwd->allocated_port = packet_get_int();
595 " to %s:%d", rfwd->allocated_port,
596 rfwd->connect_host, rfwd->connect_port);
599 buffer_put_int(&out, rfwd->allocated_port);
600 channel_update_permitted_opens(rfwd->handle,
601 rfwd->allocated_port);
608 if (rfwd->listen_port == 0)
609 channel_update_permitted_opens(rfwd->handle, -1);
611 "listen port %d", rfwd->listen_port);