Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\netnode.c Create Date:2022-07-28 19:09:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sel_netnode_hashfn_ipv6 - IPv6 hashing function for the node table*@addr: IPv6 address* Description:* This is the IPv6 hashing function for the node interface table, it returns* the bucket number for the given IP address.

Proto:static unsigned int sel_netnode_hashfn_ipv6(const struct in6_addr *addr)

Type:unsigned int

Parameter:

TypeParameterName
const struct in6_addr *addr
91  Return s6_addr32[3] & 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.