函数逻辑报告 |
Source Code:kernel\bpf\lpm_trie.c |
Create Date:2022-07-27 14:29:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static inline int extract_bit(const u8 *data, size_t index)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const u8 * | data | |
size_t | index |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |