summaryrefslogtreecommitdiff
path: root/samples/bpf/tcp_synrto_kern.c
AgeCommit message (Collapse)AuthorFilesLines
2017-07-02bpf: Sample bpf program to set SYN/SYN-ACK RTOsLawrence Brakmo1-0/+69
The sample BPF program, tcp_synrto_kern.c, sets the SYN and SYN-ACK RTOs to 10ms when both hosts are within the same datacenter (i.e. small RTTs) in an environment where common IPv6 prefixes indicate both hosts are in the same data center. Signed-off-by: Lawrence Brakmo <brakmo@fb.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>