diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-05 19:27:04 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-05 20:02:03 +0200 |
commit | d4d61480b6883d462a2c3c99eaf315259e78c984 (patch) | |
tree | 099527a3fb68fcabe3953c55d67de9484ce9309b /passt.h | |
parent | eef4e82903311c73a5da3030da7eee790ce783a5 (diff) | |
download | passt-d4d61480b6883d462a2c3c99eaf315259e78c984.tar passt-d4d61480b6883d462a2c3c99eaf315259e78c984.tar.gz passt-d4d61480b6883d462a2c3c99eaf315259e78c984.tar.bz2 passt-d4d61480b6883d462a2c3c99eaf315259e78c984.tar.lz passt-d4d61480b6883d462a2c3c99eaf315259e78c984.tar.xz passt-d4d61480b6883d462a2c3c99eaf315259e78c984.tar.zst passt-d4d61480b6883d462a2c3c99eaf315259e78c984.zip |
tcp, tap: Turn tcp_probe_mem() into sock_probe_mem(), use for AF_UNIX socket too
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.h')
-rw-r--r-- | passt.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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, |