aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/bpf.txt
diff options
context:
space:
mode:
Diffstat (limited to 'sys/linux/bpf.txt')
-rw-r--r--sys/linux/bpf.txt50
1 files changed, 20 insertions, 30 deletions
diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt
index b45df8001..b9fd9f21a 100644
--- a/sys/linux/bpf.txt
+++ b/sys/linux/bpf.txt
@@ -444,31 +444,23 @@ bpf_test_prog_arg {
}
bpf_prog_get_next_id_arg {
-# NEED: part of fields are input here and part are output. We can't express this yet (#245).
- start int32
-# Output field:
- next_id bpf_prog_id
+ start int32 (in)
+ next_id bpf_prog_id (out)
}
bpf_map_get_next_id_arg {
-# NEED: part of fields are input here and part are output. We can't express this yet (#245).
- start int32
-# Output field:
- next_id bpf_map_id
+ start int32 (in)
+ next_id bpf_map_id (out)
}
bpf_btf_get_next_id_arg {
-# NEED: part of fields are input here and part are output. We can't express this yet (#245).
- start int32
-# Output field:
- next_id bpf_btf_id
+ start int32 (in)
+ next_id bpf_btf_id (out)
}
bpf_link_get_next_id_arg {
-# NEED: part of fields are input here and part are output. We can't express this yet (#245).
- start int32
-# Output field:
- next_id bpf_link_id[opt]
+ start int32 (in)
+ next_id bpf_link_id (out)
}
bpf_prog_get_fd_by_id_arg {
@@ -535,15 +527,15 @@ bpf_map_info {
} [align[8]]
bpf_get_btf_info_arg {
- btf fd_btf
- len len[info, int32]
+ btf fd_btf (in)
+ len len[info, int32] (in)
info ptr64[inout, bpf_btf_info]
}
bpf_btf_info {
btf ptr64[out, array[int8]]
btf_size bytesize[btf, int32]
- id bpf_btf_id[opt]
+ id bpf_btf_id (out)
} [align[8]]
bpf_prog_query {
@@ -736,17 +728,15 @@ bpf_btf_strings {
bpf_btf_strings_elem = 'a', '0', '_', '.', 0
bpf_task_fd_query {
-# NEED: part of fields are input here and part are output. We can't express this yet (#245).
- pid pid
- fd fd_perf_base
- flags const[0, int32]
- buf_len bytesize[buf, int32]
- buf ptr64[in, string]
-# These are output fields:
- prog_id bpf_prog_id[opt]
- fd_type const[0, int32]
- probe_offset const[0, int64]
- probe_addr const[0, int64]
+ pid pid (in)
+ fd fd_perf_base (in)
+ flags const[0, int32] (in)
+ buf_len bytesize[buf, int32] (in)
+ buf ptr64[in, string] (in)
+ prog_id bpf_prog_id (out)
+ fd_type int32 (out)
+ probe_offset int64 (out)
+ probe_addr int64 (out)
}
bpf_map_type = BPF_MAP_TYPE_HASH, BPF_MAP_TYPE_ARRAY, BPF_MAP_TYPE_PROG_ARRAY, BPF_MAP_TYPE_PERF_EVENT_ARRAY, BPF_MAP_TYPE_STACK_TRACE, BPF_MAP_TYPE_CGROUP_ARRAY, BPF_MAP_TYPE_PERCPU_HASH, BPF_MAP_TYPE_PERCPU_ARRAY, BPF_MAP_TYPE_LRU_HASH, BPF_MAP_TYPE_LRU_PERCPU_HASH, BPF_MAP_TYPE_LPM_TRIE, BPF_MAP_TYPE_ARRAY_OF_MAPS, BPF_MAP_TYPE_HASH_OF_MAPS, BPF_MAP_TYPE_DEVMAP, BPF_MAP_TYPE_SOCKMAP, BPF_MAP_TYPE_CPUMAP, BPF_MAP_TYPE_XSKMAP, BPF_MAP_TYPE_SOCKHASH, BPF_MAP_TYPE_CGROUP_STORAGE, BPF_MAP_TYPE_REUSEPORT_SOCKARRAY, BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE, BPF_MAP_TYPE_QUEUE, BPF_MAP_TYPE_STACK, BPF_MAP_TYPE_SK_STORAGE, BPF_MAP_TYPE_DEVMAP_HASH, BPF_MAP_TYPE_STRUCT_OPS, BPF_MAP_TYPE_RINGBUF