diff options
author | Petar Penkov <[email protected]> | 2019-07-29 09:59:15 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-07-30 21:03:05 -0700 |
commit | 70d66244317e958092e9c971b08dd5b7fd29d9cb (patch) | |
tree | ce2f9693389e7084cdf245f1a39e3787dcfccdb2 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 9349d600fb6a1ca0aaeb515523e1bb5409483d76 (diff) |
bpf: add bpf_tcp_gen_syncookie helper
This helper function allows BPF programs to try to generate SYN
cookies, given a reference to a listener socket. The function works
from XDP and with an skb context since bpf_skc_lookup_tcp can lookup a
socket in both cases.
Signed-off-by: Petar Penkov <[email protected]>
Suggested-by: Eric Dumazet <[email protected]>
Reviewed-by: Lorenz Bauer <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions