aboutgitcodebugslistschat
path: root/test/lib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-03-27 15:34:22 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-03-28 14:35:52 +0100
commit1f9ee4fda2ad93d8bb2cc73ad5e7a435983ad1ba (patch)
tree0f6001ec735230f872f818c03e6d5394777d5cac /test/lib
parent35c56c5b5e00389b2bf51a7d1c3f3c5387bba264 (diff)
downloadpasst-1f9ee4fda2ad93d8bb2cc73ad5e7a435983ad1ba.tar
passt-1f9ee4fda2ad93d8bb2cc73ad5e7a435983ad1ba.tar.gz
passt-1f9ee4fda2ad93d8bb2cc73ad5e7a435983ad1ba.tar.bz2
passt-1f9ee4fda2ad93d8bb2cc73ad5e7a435983ad1ba.tar.lz
passt-1f9ee4fda2ad93d8bb2cc73ad5e7a435983ad1ba.tar.xz
passt-1f9ee4fda2ad93d8bb2cc73ad5e7a435983ad1ba.tar.zst
passt-1f9ee4fda2ad93d8bb2cc73ad5e7a435983ad1ba.zip
fwd, conf: Expose ephemeral ports as bitmap rather than function
It turns out the only callers of fwd_port_is_ephemeral() use it to build a bitmap of ephemeral ports. So, replace it with fwd_port_map_ephemeral(), which directly builds that bitmap. As a bonus this allows a slightly cheaper implementation of building the map, since inside fwd.c we know that the ephemeral ports form a single range. 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