aboutsummaryrefslogtreecommitdiffstats
path: root/samples/timers
diff options
context:
space:
mode:
authorLawrence Brakmo <brakmo@fb.com>2017-06-30 20:02:54 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-01 16:15:14 -0700
commit6c4a01b27852347cd3c4d2bf0dadf157ea6c3c40 (patch)
treeb6b16a42bee5779e1ca658061ea6f97b4b8e6011 /samples/timers
parentbpf: Adds support for setting sndcwnd clamp (diff)
downloadlinux-dev-6c4a01b27852347cd3c4d2bf0dadf157ea6c3c40.tar.xz
linux-dev-6c4a01b27852347cd3c4d2bf0dadf157ea6c3c40.zip
bpf: Sample bpf program to set sndcwnd clamp
Sample BPF program, tcp_clamp_kern.c, to demostrate the use of setting the sndcwnd clamp. This program assumes that if the first 5.5 bytes of the host's IPv6 addresses are the same, then the hosts are in the same datacenter and sets sndcwnd clamp to 100 packets, SYN and SYN-ACK RTOs to 10ms and send/receive buffer sizes to 150KB. Signed-off-by: Lawrence Brakmo <brakmo@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/timers')
0 files changed, 0 insertions, 0 deletions