函数逻辑报告 |
Source Code:security\selinux\netport.c |
Create Date:2022-07-27 20:40:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sel_netport_hashfn - Hashing function for the port table*@pnum: port number* Description:* This is the hashing function for the port table, it returns the bucket* number for the given port.
函数原型:static unsigned int sel_netport_hashfn(u16 pnum)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
u16 | pnum |
71 | 返回:pnum按位与SEL_NETPORT_HASH_SIZE减1 |
名称 | 描述 |
---|---|
sel_netport_find | sel_netport_find - Search for a port record*@protocol: protocol*@port: pnum* Description:* Search the network port table and return the matching record. If an entry* can not be found in the table return NULL. |
sel_netport_insert | sel_netport_insert - Insert a new port into the table*@port: the new port record* Description:* Add a new port record to the network address hash table. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |