aboutgitcodebugslistschat
path: root/tcp_conn.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-11-09 20:53:59 +1100
committerStefano Brivio <sbrivio@redhat.com>2023-11-10 06:42:10 +0100
commit930bc3b0f2d2078747172e960807c84a8cd97495 (patch)
treedd04ec87f305ed37c8057eaa4ad44b7d9e79ad9f /tcp_conn.h
parent2c1554c994e56316ff9272f7204f09b478a9b607 (diff)
downloadpasst-930bc3b0f2d2078747172e960807c84a8cd97495.tar
passt-930bc3b0f2d2078747172e960807c84a8cd97495.tar.gz
passt-930bc3b0f2d2078747172e960807c84a8cd97495.tar.bz2
passt-930bc3b0f2d2078747172e960807c84a8cd97495.tar.lz
passt-930bc3b0f2d2078747172e960807c84a8cd97495.tar.xz
passt-930bc3b0f2d2078747172e960807c84a8cd97495.tar.zst
passt-930bc3b0f2d2078747172e960807c84a8cd97495.zip
tcp: Rename and small cleanup to tcp_clamp_window()
tcp_clamp_window() is _mostly_ about using TCP_WINDOW_CLAMP to control the sock side advertised window, but it is also responsible for actually updating the conn->wnd_from_tap value. Rename to tcp_tap_window_update() to reflect that broader purpose, and pull the logic that's not TCP_WINDOW_CLAMP related out to the front. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_conn.h')
0 files changed, 0 insertions, 0 deletions