aboutgitcodebugslistschat
path: root/doc
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-03-27 15:34:20 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-03-28 14:35:48 +0100
commit559d4dcbd3593f6a7fc1cefd12666f56a1901652 (patch)
tree336396f8d3a07717a1ae43f402af1e75043e8a10 /doc
parent1f974cc68c63b1d4c3b1b8fd6ae612b3308cac2c (diff)
downloadpasst-559d4dcbd3593f6a7fc1cefd12666f56a1901652.tar
passt-559d4dcbd3593f6a7fc1cefd12666f56a1901652.tar.gz
passt-559d4dcbd3593f6a7fc1cefd12666f56a1901652.tar.bz2
passt-559d4dcbd3593f6a7fc1cefd12666f56a1901652.tar.lz
passt-559d4dcbd3593f6a7fc1cefd12666f56a1901652.tar.xz
passt-559d4dcbd3593f6a7fc1cefd12666f56a1901652.tar.zst
passt-559d4dcbd3593f6a7fc1cefd12666f56a1901652.zip
fwd: Store forwarding tables indexed by (origin) pif
Currently we store the inbound (PIF_HOST) and outbound (PIF_SPLICE) forwarding tables in separate fields of struct ctx. In a number of places this requires somewhat awkward if or switch constructs to select the right table for updates. Conceptually simplify that by using an index of forwarding tables by pif, which as a bonus keeps track generically which pifs have implemented forwarding tables so far. For now this doesn't simplify a lot textually, because many places that need this also have other special cases to apply by pif. It does simplify a few crucial places though, and we expect it will become more useful as the flexibility of the forwarding table is improved. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions