Lines Matching defs:rfwd
575 Forward *rfwd;
589 rfwd = &options.remote_forwards[fctx->fid];
592 rfwd->listen_port, rfwd->connect_host, rfwd->connect_port);
594 if (rfwd->listen_port == 0) {
595 rfwd->allocated_port = packet_get_int();
597 " to %s:%d", rfwd->allocated_port,
598 rfwd->connect_host, rfwd->connect_port);
601 buffer_put_int(&out, rfwd->allocated_port);
602 channel_update_permitted_opens(rfwd->handle,
603 rfwd->allocated_port);
610 if (rfwd->listen_port == 0)
611 channel_update_permitted_opens(rfwd->handle, -1);
613 "listen port %d", rfwd->listen_port);