函数逻辑报告 |
Source Code:security\selinux\netnode.c |
Create Date:2022-07-27 20:40:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sel_netnode_hashfn_ipv4 - IPv4 hashing function for the node table*@addr: IPv4 address* Description:* This is the IPv4 hashing function for the node interface table, it returns* the bucket number for the given IP address.
函数原型:static unsigned int sel_netnode_hashfn_ipv4(__be32 addr)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
__be32 | addr |
74 | 返回:addr按位与SEL_NETNODE_HASH_SIZE减1 |
名称 | 描述 |
---|---|
sel_netnode_find | 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. |
sel_netnode_insert | 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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |