Lines Matching refs:newfwd
321 add_local_forward(Options *options, const struct Forward *newfwd) in add_local_forward() argument
327 if (!bind_permitted(newfwd->listen_port, original_real_uid) && in add_local_forward()
328 newfwd->listen_path == NULL) in add_local_forward()
332 if (forward_equals(newfwd, options->local_forwards + i)) in add_local_forward()
340 fwd->listen_host = newfwd->listen_host; in add_local_forward()
341 fwd->listen_port = newfwd->listen_port; in add_local_forward()
342 fwd->listen_path = newfwd->listen_path; in add_local_forward()
343 fwd->connect_host = newfwd->connect_host; in add_local_forward()
344 fwd->connect_port = newfwd->connect_port; in add_local_forward()
345 fwd->connect_path = newfwd->connect_path; in add_local_forward()
354 add_remote_forward(Options *options, const struct Forward *newfwd) in add_remote_forward() argument
361 if (forward_equals(newfwd, options->remote_forwards + i)) in add_remote_forward()
369 fwd->listen_host = newfwd->listen_host; in add_remote_forward()
370 fwd->listen_port = newfwd->listen_port; in add_remote_forward()
371 fwd->listen_path = newfwd->listen_path; in add_remote_forward()
372 fwd->connect_host = newfwd->connect_host; in add_remote_forward()
373 fwd->connect_port = newfwd->connect_port; in add_remote_forward()
374 fwd->connect_path = newfwd->connect_path; in add_remote_forward()
375 fwd->handle = newfwd->handle; in add_remote_forward()