Lines Matching refs:connect_host
343 fwd->connect_host = newfwd->connect_host; in add_local_forward()
372 fwd->connect_host = newfwd->connect_host; in add_remote_forward()
387 free(options->local_forwards[i].connect_host); in clear_forwardings()
398 free(options->remote_forwards[i].connect_host); in clear_forwardings()
2209 fwd->connect_host = xstrdup("socks"); in parse_forward()
2226 fwd->connect_host = xstrdup("socks"); in parse_forward()
2234 fwd->connect_host = xstrdup(fwdargs[1].arg); in parse_forward()
2244 fwd->connect_host = xstrdup(fwdargs[1].arg); in parse_forward()
2252 fwd->connect_host = xstrdup(fwdargs[2].arg); in parse_forward()
2277 if (fwd->connect_host != NULL && in parse_forward()
2278 strlen(fwd->connect_host) >= NI_MAXHOST) in parse_forward()
2294 free(fwd->connect_host); in parse_forward()
2295 fwd->connect_host = NULL; in parse_forward()
2471 if (code == oDynamicForward && fwd->connect_host != NULL && in dump_cfg_forwards()
2472 strcmp(fwd->connect_host, "socks") != 0) in dump_cfg_forwards()
2474 if (code == oLocalForward && fwd->connect_host != NULL && in dump_cfg_forwards()
2475 strcmp(fwd->connect_host, "socks") == 0) in dump_cfg_forwards()
2489 else if (fwd->connect_host == NULL) in dump_cfg_forwards()
2493 fwd->connect_host, fwd->connect_port); in dump_cfg_forwards()