diff options
author | 2017-10-20 11:05:42 -0700 | |
---|---|---|
committer | 2017-10-22 03:12:05 +0100 | |
commit | c890063e440456e75c2e70f6bcec3797f1771eb6 (patch) | |
tree | 81e2bf2415e67f9d54a668aa0b5e775c0981a53d /drivers/net/tun.c | |
parent | bpf: Add BPF_SOCKET_OPS_BASE_RTT support to tcp_nv (diff) | |
download | wireguard-linux-c890063e440456e75c2e70f6bcec3797f1771eb6.tar.xz wireguard-linux-c890063e440456e75c2e70f6bcec3797f1771eb6.zip |
bpf: sample BPF_SOCKET_OPS_BASE_RTT program
Sample socket_ops BPF program to test the BPF helper function
bpf_getsocketops and the new socket_ops op BPF_SOCKET_OPS_BASE_RTT.
The program provides a base RTT of 80us when the calling flow is
within a DC (as determined by the IPV6 prefix) and the congestion
algorithm is "nv".
Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked_by: Alexei Starovoitov <ast@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions