Lines Matching refs:newfwd
351 add_local_forward(Options *options, const struct Forward *newfwd) in add_local_forward() argument
358 if (forward_equals(newfwd, options->local_forwards + i)) in add_local_forward()
366 fwd->listen_host = newfwd->listen_host; in add_local_forward()
367 fwd->listen_port = newfwd->listen_port; in add_local_forward()
368 fwd->listen_path = newfwd->listen_path; in add_local_forward()
369 fwd->connect_host = newfwd->connect_host; in add_local_forward()
370 fwd->connect_port = newfwd->connect_port; in add_local_forward()
371 fwd->connect_path = newfwd->connect_path; in add_local_forward()
380 add_remote_forward(Options *options, const struct Forward *newfwd) in add_remote_forward() argument
387 if (forward_equals(newfwd, options->remote_forwards + i)) in add_remote_forward()
395 fwd->listen_host = newfwd->listen_host; in add_remote_forward()
396 fwd->listen_port = newfwd->listen_port; in add_remote_forward()
397 fwd->listen_path = newfwd->listen_path; in add_remote_forward()
398 fwd->connect_host = newfwd->connect_host; in add_remote_forward()
399 fwd->connect_port = newfwd->connect_port; in add_remote_forward()
400 fwd->connect_path = newfwd->connect_path; in add_remote_forward()
401 fwd->handle = newfwd->handle; in add_remote_forward()