Function report | 
Source Code:security\selinux\netport.c | 
Create Date:2022-07-28 19:10:11 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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.
Proto:static unsigned int sel_netport_hashfn(u16 pnum)
Type:unsigned int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| u16 | pnum | 
| 71 | Return pnum & SEL_NETPORT_HASH_SIZE - 1 | 
| Name | Describe | 
|---|---|
| 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. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |