summaryrefslogtreecommitdiff
path: root/net/bpf
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2021-05-13 17:36:04 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2021-05-19 00:33:39 +0200
commitcdf7fb0a9f3d36b279590ac41e61c6b655db0d4a (patch)
treedf7f05d1270c6f443a613848786e024a3f37bcef /net/bpf
parent79a7f8bdb159d9914b58740f3d31d602a6e4aca8 (diff)
bpf: Introduce bpfptr_t user/kernel pointer.
Similar to sockptr_t introduce bpfptr_t with few additions: make_bpfptr() creates new user/kernel pointer in the same address space as existing user/kernel pointer. bpfptr_add() advances the user/kernel pointer. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210514003623.28033-3-alexei.starovoitov@gmail.com
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions