aboutgitcodebugslistschat
path: root/test/tcp/git:
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-01-16 11:59:23 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-01-18 12:48:01 +0100
commitf56a822c4d76556a6868d329e31e33c895fdb59a (patch)
tree90cd22efb80516bd98e148687e8207273ff61fc9 /test/tcp/git:
parenta0af19f858d119da4a9deff1ea6d488545e99c5c (diff)
downloadpasst-f56a822c4d76556a6868d329e31e33c895fdb59a.tar
passt-f56a822c4d76556a6868d329e31e33c895fdb59a.tar.gz
passt-f56a822c4d76556a6868d329e31e33c895fdb59a.tar.bz2
passt-f56a822c4d76556a6868d329e31e33c895fdb59a.tar.lz
passt-f56a822c4d76556a6868d329e31e33c895fdb59a.tar.xz
passt-f56a822c4d76556a6868d329e31e33c895fdb59a.tar.zst
passt-f56a822c4d76556a6868d329e31e33c895fdb59a.zip
flow, fwd: Consult rules table when forwarding a new flow from socket
We now have a formal array of forwarding rules. However, we don't actually consult it when we forward a new flow. Instead we rely on (a) implicit information (we wouldn't be here if there wasn't a listening socket for the rule) and (b) the legacy delta[] data structure. Start addressing this, by searching for a matching forwarding rule when attempting to forward a new flow. For now this is incomplete: * We only do this for socket-initiated flows * We make a potentially costly linear lookup * We don't actually use the matching rule for anything yet We'll address each of those 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/tcp/git:')
0 files changed, 0 insertions, 0 deletions