Function report |
Source Code:security\selinux\netnode.c |
Create Date:2022-07-28 19:09:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static unsigned int sel_netnode_hashfn_ipv4(__be32 addr)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
__be32 | addr |
74 | Return addr & SEL_NETNODE_HASH_SIZE - 1 |
Name | Describe |
---|---|
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. |
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 |