third_party_libbpf/include
Hengqi Chen 19c6144c09 bpf: Add bpf_skc_to_unix_sock() helper
The helper is used in tracing programs to cast a socket
pointer to a unix_sock pointer.
The return value could be NULL if the casting is illegal.

Suggested-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20211021134752.1223426-2-hengqi.chen@gmail.com
2021-10-22 18:38:55 -07:00
..
asm AF_XDP: add xsk.{c,h} to Makefile and fix build 2019-03-05 09:22:54 -08:00
linux include: implement list_empty() and list_for_each_entry() 2020-09-03 21:21:34 -07:00
uapi/linux bpf: Add bpf_skc_to_unix_sock() helper 2021-10-22 18:38:55 -07:00