Function report |
Source Code:security\selinux\netport.c |
Create Date:2022-07-28 19:10:16 |
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_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.
Proto:static void sel_netport_insert(struct sel_netport *port)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct sel_netport * | port |
111 | idx = 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. |
113 | If size == SEL_NETPORT_HASH_BKT_LIMIT Then |
122 | Else size++ |
Name | Describe |
---|---|
sel_netport_sid_slow | sel_netport_sid_slow - Lookup the SID of a network address using the policy*@protocol: protocol*@pnum: port*@sid: port SID* Description:* This function determines the SID of a network port by quering the security* policy |
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 |