diff options
author | 2019-07-29 09:59:15 -0700 | |
---|---|---|
committer | 2019-07-30 21:03:05 -0700 | |
commit | 70d66244317e958092e9c971b08dd5b7fd29d9cb (patch) | |
tree | ce2f9693389e7084cdf245f1a39e3787dcfccdb2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tcp: add skb-less helpers to retrieve SYN cookie (diff) | |
download | linux-dev-70d66244317e958092e9c971b08dd5b7fd29d9cb.tar.xz linux-dev-70d66244317e958092e9c971b08dd5b7fd29d9cb.zip |
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 <ppenkov@google.com>
Suggested-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions