Searched defs:bpf_func_proto (Results 1 – 2 of 2) sorted by relevance
172 struct bpf_func_proto { struct173 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;
374 struct bpf_func_proto { struct375 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);