Function report | 
Source Code:kernel\bpf\syscall.c | 
Create Date:2022-07-28 12:53:09 | 
| Last Modify:2022-05-19 18:06:12 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:find_prog_type
Proto:static int find_prog_type(enum bpf_prog_type type, struct bpf_prog *prog)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| enum bpf_prog_type | type | |
| struct bpf_prog * | prog | 
| 1294 | If type >= ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(bpf_prog_types) Then Return -EINVAL | 
| 1297 | ops = bpf_prog_types[type] | 
| 1301 | If Not bpf_prog_is_dev_bound( Auxiliary fields ) Then ops = ops | 
| 1303 | Else ops = bpf_offload_prog_ops | 
| 1305 | Type of BPF program = type | 
| 1306 | Return 0 | 
| Name | Describe | 
|---|---|
| bpf_prog_load | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |