diff options
author | Yonghong Song <[email protected]> | 2020-06-23 16:08:11 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-06-24 18:37:59 -0700 |
commit | 478cfbdf5f13dfe09cfd0b1cbac821f5e27f6108 (patch) | |
tree | febcb078fe63001ae8c004f218e9ff1acc2a68e2 /tools/testing/selftests/bpf/progs/bpf_iter_ipv6_route.c | |
parent | af7ec13833619e17f03aa73a785a2f871da6d66b (diff) |
bpf: Add bpf_skc_to_{tcp, tcp_timewait, tcp_request}_sock() helpers
Three more helpers are added to cast a sock_common pointer to
an tcp_sock, tcp_timewait_sock or a tcp_request_sock for
tracing programs.
Signed-off-by: Yonghong Song <[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/progs/bpf_iter_ipv6_route.c')
0 files changed, 0 insertions, 0 deletions