diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2022-04-25 03:18:58 +0530 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-04-25 20:26:44 -0700 |
commit | ef89654f2bc7459f45b40be80de6cd3765ef8539 (patch) | |
tree | 0f0dd48a06193390f4243c7ff06f75bfed1c7fda /tools/testing/selftests/bpf/prog_tests/map_kptr.c | |
parent | 2ab3b3808eb17f729edfd69e061667ca0a427195 (diff) |
libbpf: Add kptr type tag macros to bpf_helpers.h
Include convenience definitions:
__kptr: Unreferenced kptr
__kptr_ref: Referenced kptr
Users can use them to tag the pointer type meant to be used with the new
support directly in the map value definition.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220424214901.2743946-11-memxor@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/map_kptr.c')
0 files changed, 0 insertions, 0 deletions