diff options
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_helpers.h')
-rw-r--r-- | tools/testing/selftests/bpf/bpf_helpers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/bpf_helpers.h b/tools/testing/selftests/bpf/bpf_helpers.h index 334d3e8c5e89..a66a9d91acf4 100644 --- a/tools/testing/selftests/bpf/bpf_helpers.h +++ b/tools/testing/selftests/bpf/bpf_helpers.h | |||
@@ -126,6 +126,11 @@ static int (*bpf_lwt_seg6_action)(void *ctx, unsigned int action, void *param, | |||
126 | static int (*bpf_lwt_seg6_adjust_srh)(void *ctx, unsigned int offset, | 126 | static int (*bpf_lwt_seg6_adjust_srh)(void *ctx, unsigned int offset, |
127 | unsigned int len) = | 127 | unsigned int len) = |
128 | (void *) BPF_FUNC_lwt_seg6_adjust_srh; | 128 | (void *) BPF_FUNC_lwt_seg6_adjust_srh; |
129 | static int (*bpf_rc_repeat)(void *ctx) = | ||
130 | (void *) BPF_FUNC_rc_repeat; | ||
131 | static int (*bpf_rc_keydown)(void *ctx, unsigned int protocol, | ||
132 | unsigned long long scancode, unsigned int toggle) = | ||
133 | (void *) BPF_FUNC_rc_keydown; | ||
129 | 134 | ||
130 | /* llvm builtin functions that eBPF C program may use to | 135 | /* llvm builtin functions that eBPF C program may use to |
131 | * emit BPF_LD_ABS and BPF_LD_IND instructions | 136 | * emit BPF_LD_ABS and BPF_LD_IND instructions |