aboutgitcodebugslistschat
path: root/udp.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-08-21 14:20:18 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-08-21 12:00:37 +0200
commit8436c0d61b3a0443df12fa7b2c928932ba202ba6 (patch)
tree14ba26d6fd48a3c9eae64d49796e2873c4e01fa9 /udp.c
parente813a4df7da28a69ef32642f42fd625aea798967 (diff)
downloadpasst-8436c0d61b3a0443df12fa7b2c928932ba202ba6.tar
passt-8436c0d61b3a0443df12fa7b2c928932ba202ba6.tar.gz
passt-8436c0d61b3a0443df12fa7b2c928932ba202ba6.tar.bz2
passt-8436c0d61b3a0443df12fa7b2c928932ba202ba6.tar.lz
passt-8436c0d61b3a0443df12fa7b2c928932ba202ba6.tar.xz
passt-8436c0d61b3a0443df12fa7b2c928932ba202ba6.tar.zst
passt-8436c0d61b3a0443df12fa7b2c928932ba202ba6.zip
fwd: Distinguish translatable from untranslatable addresses on inbound
fwd_nat_from_host() needs to adjust the source address for new flows coming from an address which is not accessible to the guest. Currently we always use our_tap_addr or our_tap_ll. However in cases where the address is accessible to the guest via translation (i.e. via --map-host-loopback) then it makes more sense to use that translation, rather than the fallback mapping of our_tap_*. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
0 files changed, 0 insertions, 0 deletions