Function report |
Source Code:kernel\bpf\lpm_trie.c |
Create Date:2022-07-28 13:13:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lpm_trie_node_alloc
Proto:static struct lpm_trie_node *lpm_trie_node_alloc(const struct lpm_trie *trie, const void *value)
Type:struct lpm_trie_node
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct lpm_trie * | trie | |
| const void * | value |
| 280 | size = sizeof(structlpm_trie_node) + data_size |
| 282 | If value Then size += value_size |
| 287 | If Not node Then Return NULL |
| 290 | flags = 0 |
| 292 | If value Then No 3D Now!(data + data_size, value, value_size) |
| 296 | Return node |
| Name | Describe |
|---|---|
| trie_update_elem | Called from syscall or from eBPF program |
| 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 |