Function report |
Source Code:kernel\bpf\lpm_trie.c |
Create Date:2022-07-28 13:13:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This trie implements a longest prefix match algorithm that can be used to* match IP addresses to a stored set of ranges.* Data stored in @data of struct bpf_lpm_key and struct lpm_trie_node is
Proto:static inline int extract_bit(const u8 *data, size_t index)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const u8 * | data | |
| size_t | index |
| Name | Describe |
|---|---|
| trie_lookup_elem | Called from syscall or from eBPF program |
| trie_update_elem | Called from syscall or from eBPF program |
| trie_delete_elem | Called from syscall or from eBPF program |
| trie_get_next_key |
| 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 |