Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit cb811109 authored by Prankur gupta's avatar Prankur gupta Committed by Alexei Starovoitov
Browse files

bpf: Adds support for setting window clamp


Adds a new bpf_setsockopt for TCP sockets, TCP_BPF_WINDOW_CLAMP,
which sets the maximum receiver window size. It will be useful for
limiting receiver window based on RTT.

Signed-off-by: default avatarPrankur gupta <prankgup@fb.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201202213152.435886-2-prankgup@fb.com
parent 2faa7328
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment