Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
__be32addr
74  Return addr & SEL_NETNODE_HASH_SIZE - 1
Caller
NameDescribe
sel_netnode_findsel_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_insertsel_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.