aboutgitcodebugslistschat
path: root/test/lib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-10-31 15:19:25 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-11-01 00:22:58 +0100
commit1bc7d5485c103497643ce681b1c30133cba6dd19 (patch)
treee624d13323e57dc4090177370560038022265863 /test/lib
parent260075bde769b6abbf6350e930f44b9fc7d5303a (diff)
downloadpasst-1bc7d5485c103497643ce681b1c30133cba6dd19.tar
passt-1bc7d5485c103497643ce681b1c30133cba6dd19.tar.gz
passt-1bc7d5485c103497643ce681b1c30133cba6dd19.tar.bz2
passt-1bc7d5485c103497643ce681b1c30133cba6dd19.tar.lz
passt-1bc7d5485c103497643ce681b1c30133cba6dd19.tar.xz
passt-1bc7d5485c103497643ce681b1c30133cba6dd19.tar.zst
passt-1bc7d5485c103497643ce681b1c30133cba6dd19.zip
fwd: Consolidate scans (not rebinds) in fwd.c
fwd_scan_ports_timer(), via the things it calls, goes through all the auto forwarding cases (tcp, udp, inbound, outbound) and for each one first scans for listening ports, then rebinds - that is, closes or opens our own listening ports to match. Rearrange to do all the scans first, then all the rebinds after. This lets us consolidate all the scans into fwd.c, and will enable further cleanups. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions