diff options
author | Dmitry Yakunin <[email protected]> | 2020-06-20 18:30:52 +0300 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-06-24 11:21:03 -0700 |
commit | f9bcf96837f158db6ea982d15cd2c8161ca6bc23 (patch) | |
tree | e12aa8a1816f41c7d1ccbc4c4a8455a99de4f1f4 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | aad4a0a9513af962137c4842463d11ed491eec37 (diff) |
bpf: Add SO_KEEPALIVE and related options to bpf_setsockopt
This patch adds support of SO_KEEPALIVE flag and TCP related options
to bpf_setsockopt() routine. This is helpful if we want to enable or tune
TCP keepalive for applications which don't do it in the userspace code.
v3:
- update kernel-doc in uapi (Nikita Vetoshkin <[email protected]>)
v4:
- update kernel-doc in tools too (Alexei Starovoitov)
- add test to selftests (Alexei Starovoitov)
Signed-off-by: Dmitry Yakunin <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions