aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/tcp_cong_kern.c
diff options
context:
space:
mode:
authorLawrence Brakmo <brakmo@fb.com>2017-06-30 20:02:49 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-01 16:15:14 -0700
commit91b5b21c7c16899abb37f4a9e4388b4e9aae0b9d (patch)
treeff5989374783d9f11e822906a98e94d08a6f135a /samples/bpf/tcp_cong_kern.c
parentbpf: Sample BPF program to set buffer sizes (diff)
downloadlinux-dev-91b5b21c7c16899abb37f4a9e4388b4e9aae0b9d.tar.xz
linux-dev-91b5b21c7c16899abb37f4a9e4388b4e9aae0b9d.zip
bpf: Add support for changing congestion control
Added support for changing congestion control for SOCK_OPS bpf programs through the setsockopt bpf helper function. It also adds a new SOCK_OPS op, BPF_SOCK_OPS_NEEDS_ECN, that is needed for congestion controls, like dctcp, that need to enable ECN in the SYN packets. Signed-off-by: Lawrence Brakmo <brakmo@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/tcp_cong_kern.c')
0 files changed, 0 insertions, 0 deletions