aboutgitcodebugslistschat
path: root/test
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-10-31 15:19:24 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-11-01 00:22:55 +0100
commit260075bde769b6abbf6350e930f44b9fc7d5303a (patch)
tree730ab4d674081fdc0368ce091817637ff0910032 /test
parent1f2c08b57c6b22fdcc2a0dc06887f75a215e4c84 (diff)
downloadpasst-260075bde769b6abbf6350e930f44b9fc7d5303a.tar
passt-260075bde769b6abbf6350e930f44b9fc7d5303a.tar.gz
passt-260075bde769b6abbf6350e930f44b9fc7d5303a.tar.bz2
passt-260075bde769b6abbf6350e930f44b9fc7d5303a.tar.lz
passt-260075bde769b6abbf6350e930f44b9fc7d5303a.tar.xz
passt-260075bde769b6abbf6350e930f44b9fc7d5303a.tar.zst
passt-260075bde769b6abbf6350e930f44b9fc7d5303a.zip
tcp, udp, fwd: Run all port scanning from a single timer
With -t auto and similar options we need to periodically scan /proc for listening ports. Currently we do this separately for TCP and UDP, from tcp_timer() and udp_timer(). For upcoming changes (leading eventually to a more general forwarding table), it's awkward to have these separate. Move them to a single common timer. For now this just calls new tcp_scan_ports() and udp_scan_ports() functions, but we'll consolidate more thoroughly in later patches. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions