]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - tools/testing/selftests/bpf/bpf_helpers.h
media: bpf: add bpf function to report mouse movement
[mirror_ubuntu-jammy-kernel.git] / tools / testing / selftests / bpf / bpf_helpers.h
index 7b69519a09b15d38c7ef0659cf267284b8caad26..04c060e8f10a5c794b17e92b479f036c04bd98cf 100644 (file)
@@ -170,6 +170,8 @@ static int (*bpf_skb_vlan_push)(void *ctx, __be16 vlan_proto, __u16 vlan_tci) =
        (void *) BPF_FUNC_skb_vlan_push;
 static int (*bpf_skb_vlan_pop)(void *ctx) =
        (void *) BPF_FUNC_skb_vlan_pop;
+static int (*bpf_rc_pointer_rel)(void *ctx, int rel_x, int rel_y) =
+       (void *) BPF_FUNC_rc_pointer_rel;
 
 /* llvm builtin functions that eBPF C program may use to
  * emit BPF_LD_ABS and BPF_LD_IND instructions