Function report |
Source Code:security\selinux\netif.c |
Create Date:2022-07-28 19:09:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sel_netif_sid - Lookup the SID of a network interface*@ns: the network namespace*@ifindex: the network interface*@sid: interface SID* Description:* This function determines the SID of a network interface using the fastest* method possible
Proto:int sel_netif_sid(struct net *ns, int ifindex, unsigned int *sid)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct net * | ns | |
| int | ifindex | |
| unsigned int * | sid |
| 198 | If Value is more likely to compile time(netif != NULL) Then |
| 199 | sid = SID for this interface |
| 201 | Return 0 |
| 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 |