diff options
author | Lawrence Brakmo <[email protected]> | 2017-10-20 11:05:42 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-10-22 03:12:05 +0100 |
commit | c890063e440456e75c2e70f6bcec3797f1771eb6 (patch) | |
tree | 81e2bf2415e67f9d54a668aa0b5e775c0981a53d /kernel/bpf/devmap.c | |
parent | 85cce215781685bbc94b6af2bd1aa40b71965a70 (diff) |
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 <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Acked_by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'kernel/bpf/devmap.c')
0 files changed, 0 insertions, 0 deletions