From d4d61480b6883d462a2c3c99eaf315259e78c984 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 5 Oct 2021 19:27:04 +0200 Subject: tcp, tap: Turn tcp_probe_mem() into sock_probe_mem(), use for AF_UNIX socket too Signed-off-by: Stefano Brivio --- passt.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'passt.h') diff --git a/passt.h b/passt.h index 57b5c09..895dd91 100644 --- a/passt.h +++ b/passt.h @@ -126,6 +126,8 @@ enum passt_modes { * @no_dhcpv6: Disable DHCPv6 server * @no_ndp: Disable NDP handler altogether * @no_ra: Disable router advertisements + * @low_wmem: Low probed net.core.wmem_max + * @low_rmem: Low probed net.core.rmem_max */ struct ctx { enum passt_modes mode; @@ -177,6 +179,9 @@ struct ctx { int no_dhcpv6; int no_ndp; int no_ra; + + int low_wmem; + int low_rmem; }; void proto_update_l2_buf(unsigned char *eth_d, unsigned char *eth_s, -- cgit v1.2.3