diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-01-16 11:59:14 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-01-18 12:47:33 +0100 |
| commit | bd52f61e48458b4dd8a4bc4ae80d9bccca7e33d3 (patch) | |
| tree | 1cf96627a4651a3df74eed1ba473c242be3bba7f /test/tcp | |
| parent | 016e3d756447ebadb45fb68719b4ea28bb12d103 (diff) | |
| download | passt-bd52f61e48458b4dd8a4bc4ae80d9bccca7e33d3.tar passt-bd52f61e48458b4dd8a4bc4ae80d9bccca7e33d3.tar.gz passt-bd52f61e48458b4dd8a4bc4ae80d9bccca7e33d3.tar.bz2 passt-bd52f61e48458b4dd8a4bc4ae80d9bccca7e33d3.tar.lz passt-bd52f61e48458b4dd8a4bc4ae80d9bccca7e33d3.tar.xz passt-bd52f61e48458b4dd8a4bc4ae80d9bccca7e33d3.tar.zst passt-bd52f61e48458b4dd8a4bc4ae80d9bccca7e33d3.zip | |
conf, fwd: Keep a table of our port forwarding configuration
At present, we set up forwarding as we parse the -t, and -u options, not
keeping a persistent data structure with all the details. We do have
some information in struct fwd_ports, but it doesn't capture all the nuance
that the options do.
As a first step to generalising our forwarding model, add a table of all
the forwarding rules to struct fwd_ports. For now it covers only explicit
forwards, not automatic, and we don't do anything with it other than print
some additional debug information. We'll do more with it in future
patches.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/tcp')
0 files changed, 0 insertions, 0 deletions
