Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 12:58:06 |
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_pkt_ptr_alignment
Proto:static int check_pkt_ptr_alignment(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int off, int size, bool strict)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_verifier_env * | env | |
| const struct bpf_reg_state * | reg | |
| int | off | |
| int | size | |
| bool | strict |
| 2558 | ip_align = 2 |
| 2565 | verbose(env, "misaligned packet access off %d+%s+%d+%d size %d\n", ip_align, tn_buf, Fixed part of pointer offset, pointer types only , off, size) |
| 2568 | Return -EACCES |
| 2571 | Return 0 |
| Name | Describe |
|---|---|
| check_ptr_alignment |
| 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 |