aboutgitcodebugslistschat
path: root/passt.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-14 05:26:37 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-14 13:19:52 +0200
commitf45891cf2655ebda318833b1ca4d11a451d6f398 (patch)
tree88ed2dd04bd3913fac206279c78c987e8ad1b14d /passt.h
parent3bb859c50522e92f01241403501049692f98d25d (diff)
downloadpasst-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.h2
1 files changed, 2 insertions, 0 deletions
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;