From f45891cf2655ebda318833b1ca4d11a451d6f398 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 14 Oct 2021 05:26:37 +0200 Subject: conf, tcp, udp: Add --no-map-gw to disable mapping gateway address to host Signed-off-by: Stefano Brivio --- passt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'passt.h') diff --git a/passt.h b/passt.h index 50e33a3..e2bfe9d 100644 --- a/passt.h +++ b/passt.h @@ -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; -- cgit v1.2.3