函数逻辑报告 |
Source Code:security\selinux\netnode.c |
Create Date:2022-07-27 20:40:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sel_netnode_find - Search for a node record*@addr: IP address*@family: address family* Description:* Search the network node table and return the record matching @addr. If an* entry can not be found in the table return NULL.
函数原型:static struct sel_netnode *sel_netnode_find(const void *addr, u16 family)
返回类型:struct sel_netnode
参数:
类型 | 参数 | 名称 |
---|---|---|
const void * | addr | |
u16 | family |
112 | 退出 |
115 | 退出 |
116 | 默认 |
117 | BUG() |
118 | 返回:NULL |
122 | 如果 address family 恒等于family则switch family |
125 | 如果 IPv4 node address 恒等于addr则返回:node |
127 | 退出 |
129 | 如果ipv6_addr_equal( & IPv6 node address , addr)则返回:node |
132 | 退出 |
135 | 返回:NULL |
名称 | 描述 |
---|---|
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 |
sel_netnode_sid | sel_netnode_sid - Lookup the SID of a network address*@addr: the IP address*@family: the address family*@sid: node SID* Description:* This function determines the SID of a network address using the fastest* method possible |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |