函数逻辑报告 | 
Source Code:security\selinux\netnode.c | 
Create Date:2022-07-27 20:40:22 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:sel_netnode_insert - Insert a new node into the table*@node: the new node record* Description:* Add a new node record to the network address hash table.
函数原型:static void sel_netnode_insert(struct sel_netnode *node)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct sel_netnode * | node | 
| 151 | 当: address family 恒等于PF_INET | 
| 153 | 退出 | 
| 154 | 当: address family 恒等于PF_INET6 | 
| 156 | 退出 | 
| 157 | 默认 | 
| 158 | BUG() | 
| 159 | 返回 | 
| 164 | 添加RCU保护项 | 
| 165 | 如果size恒等于SEL_NETNODE_HASH_BKT_LIMIT则 | 
| 171 | 删除不需要重新初始化的列表项 | 
| 173 | 否则size自加 | 
| 名称 | 描述 | 
|---|---|
| sel_netnode_sid_slow | sel_netnode_sid_slow - Lookup the SID of a network address using the policy*@addr: the IP address*@family: the address family*@sid: node SID* Description:* This function determines the SID of a network address by quering the* security policy | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |