aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/bpf_386.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-09-11 18:44:54 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-09-11 18:44:54 +0200
commit3c88136c8a2afbcdb1be19786c0b66837f5f7cd6 (patch)
tree5f9ddf747270917fdbd660485f136cace4f85670 /sys/linux/bpf_386.const
parent4ae17b1f4c91cfe2de0b2b51b67622dd0ac366af (diff)
sys/linux: add btf descriptions
Add some new bpf descriptions, most notably btf. Not perfect, but something.
Diffstat (limited to 'sys/linux/bpf_386.const')
-rw-r--r--sys/linux/bpf_386.const5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/linux/bpf_386.const b/sys/linux/bpf_386.const
index 91bab9e95..46bc14b78 100644
--- a/sys/linux/bpf_386.const
+++ b/sys/linux/bpf_386.const
@@ -7,6 +7,8 @@ BPF_AND0 = 5
BPF_ANY = 0
BPF_ARSH0 = 12
BPF_B0 = 2
+BPF_BTF_GET_FD_BY_ID = 19
+BPF_BTF_LOAD = 18
BPF_CALL0 = 8
BPF_CGROUP_DEVICE = 6
BPF_CGROUP_INET4_BIND = 8
@@ -132,9 +134,12 @@ BPF_SK_SKB_STREAM_VERDICT = 5
BPF_ST = 2
BPF_STX = 3
BPF_SUB0 = 1
+BPF_TASK_FD_QUERY = 20
BPF_W0 = 0
BPF_XADD0 = 6
BPF_XOR0 = 10
+BTF_MAGIC = 60319
+BTF_VERSION = 1
__BPF_FUNC_MAX_ID = 84
__NR_bpf = 357
bpf_call_code = 133