| Function report | 
| Source Code: security\selinux\netport.c | Create Date:2022-07-28 19:10:21 | 
| 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_sid - Lookup the SID of a network port*@protocol: protocol*@pnum: port*@sid: port SID* Description:* This function determines the SID of a network port using the fastest method* possible
Proto:int sel_netport_sid(u8 protocol, u16 pnum, unsigned int *sid)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| u8 | protocol | |
| u16 | pnum | |
| unsigned int * | sid | 
| 190 | If (port != NULL) Then | 
| 191 | sid = SID for this node | 
| 193 | Return 0 | 
| Name | Describe | 
|---|---|
| selinux_socket_connect_helper | This supports connect(2) and SCTP connect services such as sctp_connectx(3)* and sctp_sendmsg(3) as described in Documentation/security/SCTP.rst | 
| 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 |