aboutgitcodebugslistschat
path: root/test/lib/git:
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-04-17 15:05:15 +1000
committerStefano Brivio <sbrivio@redhat.com>2026-04-21 02:09:35 +0200
commita287375874f4f6269ed2ec833394d22ebac26a5a (patch)
treedb9c59ab366c119c457e2c3d3398b2352936f7ed /test/lib/git:
parent2230d5b81a0d063aade36155f9e1846940852eb0 (diff)
downloadpasst-a287375874f4f6269ed2ec833394d22ebac26a5a.tar
passt-a287375874f4f6269ed2ec833394d22ebac26a5a.tar.gz
passt-a287375874f4f6269ed2ec833394d22ebac26a5a.tar.bz2
passt-a287375874f4f6269ed2ec833394d22ebac26a5a.tar.lz
passt-a287375874f4f6269ed2ec833394d22ebac26a5a.tar.xz
passt-a287375874f4f6269ed2ec833394d22ebac26a5a.tar.zst
passt-a287375874f4f6269ed2ec833394d22ebac26a5a.zip
fwd, conf: Add capabilities bits to each forwarding table
conf_ports_spec() and conf_ports() take the global context structure, but their only use for it is seeing if various things are possible: which protocols and address formats are allowed in formatting rules. Localise that information into the forwarding table, with a capabilities bitmap. For now we set that caps map to the same thing for all tables, but keep it per-table to allow for the possibility of different pif types in future that might have different capabilities (e.g. if we add a forwarding table for the tap interface, it won't be able to accept interface names to bind). Use this information to remove the global context parameter from conf_ports() and conf_ports_spec(). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/git:')
0 files changed, 0 insertions, 0 deletions