diff options
| author | Sean Young <[email protected]> | 2018-05-27 11:24:09 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-05-30 10:38:40 +0000 |
| commit | f4364dcfc86df7c1ca47b256eaf6b6d0cdd0d936 (patch) | |
| tree | aa0d09b48734429acec8d26b703db839fcc655de /tools/bpf/bpftool/prog.c | |
| parent | bpf: bpf_prog_array_copy() should return -ENOENT if exclude_prog not found (diff) | |
| download | kernel-f4364dcfc86df7c1ca47b256eaf6b6d0cdd0d936.tar.gz kernel-f4364dcfc86df7c1ca47b256eaf6b6d0cdd0d936.zip | |
media: rc: introduce BPF_PROG_LIRC_MODE2
Add support for BPF_PROG_LIRC_MODE2. This type of BPF program can call
rc_keydown() to reported decoded IR scancodes, or rc_repeat() to report
that the last key should be repeated.
The bpf program can be attached to using the bpf(BPF_PROG_ATTACH) syscall;
the target_fd must be the /dev/lircN device.
Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
