diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-14 05:26:37 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-14 13:19:52 +0200 |
commit | f45891cf2655ebda318833b1ca4d11a451d6f398 (patch) | |
tree | 88ed2dd04bd3913fac206279c78c987e8ad1b14d /passt.h | |
parent | 3bb859c50522e92f01241403501049692f98d25d (diff) | |
download | passt-f45891cf2655ebda318833b1ca4d11a451d6f398.tar passt-f45891cf2655ebda318833b1ca4d11a451d6f398.tar.gz passt-f45891cf2655ebda318833b1ca4d11a451d6f398.tar.bz2 passt-f45891cf2655ebda318833b1ca4d11a451d6f398.tar.lz passt-f45891cf2655ebda318833b1ca4d11a451d6f398.tar.xz passt-f45891cf2655ebda318833b1ca4d11a451d6f398.tar.zst passt-f45891cf2655ebda318833b1ca4d11a451d6f398.zip |
conf, tcp, udp: Add --no-map-gw to disable mapping gateway address to host
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.h')
-rw-r--r-- | passt.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -130,6 +130,7 @@ enum passt_modes { * @no_dhcpv6: Disable DHCPv6 server * @no_ndp: Disable NDP handler altogether * @no_ra: Disable router advertisements + * @no_map_gw: Don't map connections, untracked UDP to gateway to host * @low_wmem: Low probed net.core.wmem_max * @low_rmem: Low probed net.core.rmem_max */ @@ -188,6 +189,7 @@ struct ctx { int no_dhcpv6; int no_ndp; int no_ra; + int no_map_gw; int low_wmem; int low_rmem; |