Home
last modified time | relevance | path

Searched defs:bpf_func_proto (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-4.19/include/linux/
Dbpf.h172 struct bpf_func_proto { struct
173 u64 (*func)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
174 bool gpl_only;
175 bool pkt_access;
176 enum bpf_return_type ret_type;
177 enum bpf_arg_type arg1_type;
178 enum bpf_arg_type arg2_type;
179 enum bpf_arg_type arg3_type;
180 enum bpf_arg_type arg4_type;
181 enum bpf_arg_type arg5_type;
/kernel/linux/linux-5.10/include/linux/
Dbpf.h374 struct bpf_func_proto { struct
375 u64 (*func)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
376 bool gpl_only;
377 bool pkt_access;
378 enum bpf_return_type ret_type;
379 union {
389 union {
399 int *ret_btf_id; /* return value btf_id */
400 bool (*allowed)(const struct bpf_prog *prog);