mirror of
https://passt.top/passt
synced 2025-06-15 20:05:34 +02:00
conf, tcp, udp: Add --no-map-gw to disable mapping gateway address to host
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
3bb859c505
commit
f45891cf26
5 changed files with 15 additions and 5 deletions
2
passt.h
2
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue