strace/xlat/bpf_commands.in
Dmitry V. Levin 695beba6b7 Update BPF_* constants
* xlat/bpf_commands.in: Add BPF_PROG_TEST_RUN, BPF_PROG_GET_NEXT_ID,
BPF_MAP_GET_NEXT_ID, BPF_PROG_GET_FD_BY_ID, BPF_MAP_GET_FD_BY_ID,
and BPF_OBJ_GET_INFO_BY_FD introduced by linux kernel commits
v4.12-rc1~64^3~287^2~5, v4.13-rc1~157^2~271^2~5,
v4.13-rc1~157^2~271^2~4, v4.13-rc1~157^2~271^2~3, and
v4.13-rc1~157^2~271^2~1, respectively.
* xlat/bpf_attach_type.in: Add BPF_CGROUP_SOCK_OPS introduced
by linux kernel commit v4.13-rc1~157^2~37^2~15.
* xlat/bpf_prog_types.in: Add BPF_PROG_TYPE_SOCK_OPS introduced
by the same commit.
2017-07-16 22:40:16 +00:00

17 lines
329 B
Plaintext

BPF_MAP_CREATE 0
BPF_MAP_LOOKUP_ELEM 1
BPF_MAP_UPDATE_ELEM 2
BPF_MAP_DELETE_ELEM 3
BPF_MAP_GET_NEXT_KEY 4
BPF_PROG_LOAD 5
BPF_OBJ_PIN 6
BPF_OBJ_GET 7
BPF_PROG_ATTACH 8
BPF_PROG_DETACH 9
BPF_PROG_TEST_RUN 10
BPF_PROG_GET_NEXT_ID 11
BPF_MAP_GET_NEXT_ID 12
BPF_PROG_GET_FD_BY_ID 13
BPF_MAP_GET_FD_BY_ID 14
BPF_OBJ_GET_INFO_BY_FD 15