diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-01-16 11:59:24 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-01-18 12:48:03 +0100 |
| commit | 01bcdb925b0700faecec7dfaa1005147303ec0fb (patch) | |
| tree | 74c35d4902a02524f6c87caa2e68b52fe7f5f08f /test | |
| parent | f56a822c4d76556a6868d329e31e33c895fdb59a (diff) | |
| download | passt-01bcdb925b0700faecec7dfaa1005147303ec0fb.tar passt-01bcdb925b0700faecec7dfaa1005147303ec0fb.tar.gz passt-01bcdb925b0700faecec7dfaa1005147303ec0fb.tar.bz2 passt-01bcdb925b0700faecec7dfaa1005147303ec0fb.tar.lz passt-01bcdb925b0700faecec7dfaa1005147303ec0fb.tar.xz passt-01bcdb925b0700faecec7dfaa1005147303ec0fb.tar.zst passt-01bcdb925b0700faecec7dfaa1005147303ec0fb.zip | |
fwd: Remap ports based directly on forwarding rule
Currently we remap port numbers based on the legacy delta[] array, which
is indexed only by original port number, not the listening address. Now
that we look up a forwarding rule entry in flow_target(), we can use this
entry to directly determine the correct remapped port. Implement this,
and remove the old delta[] array.
Link: https://bugs.passt.top/show_bug.cgi?id=187
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
