commit | bafc0ba8261e36e36b0b1e851749fd3712a2a6f4 | [log] [tgz] |
---|---|---|
author | Lorenz Bauer <lmb@cloudflare.com> | Fri Mar 22 09:54:06 2019 +0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu Mar 21 18:59:11 2019 -0700 |
tree | 7121a9eaa84868932fd2b124ac432e4424d17eeb | |
parent | 5792d52df1e77110abf0d11b1131992a8c0c8d17 [diff] |
selftests/bpf: add tests for bpf_tcp_check_syncookie and bpf_skc_lookup_tcp Add tests which verify that the new helpers work for both IPv4 and IPv6, by forcing SYN cookies to always on. Use a new network namespace to avoid clobbering the global SYN cookie settings. Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>