Function report |
Source Code:security\selinux\netnode.c |
Create Date:2022-07-28 19:09:37 |
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_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.
Proto:static struct sel_netnode *sel_netnode_find(const void *addr, u16 family)
Type:struct sel_netnode
Parameter:
Type | Parameter | Name |
---|---|---|
const void * | addr | |
u16 | family |
112 | Break |
115 | Break |
116 | Default |
117 | BUG() |
118 | Return NULL |
122 | If address family == family Then switch family |
125 | If IPv4 node address == addr Then Return node |
127 | Break |
129 | If ipv6_addr_equal( & IPv6 node address , addr) Then Return node |
132 | Break |
135 | Return NULL |
Name | Describe |
---|---|
sel_netnode_sid_slow | sel_netnode_sid_slow - Lookup the SID of a network address using the policy*@addr: the IP address*@family: the address family*@sid: node SID* Description:* This function determines the SID of a network address by quering the* security policy |
sel_netnode_sid | sel_netnode_sid - Lookup the SID of a network address*@addr: the IP address*@family: the address family*@sid: node SID* Description:* This function determines the SID of a network address using the fastest* method possible |
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 |