Function report |
Source Code:security\selinux\netif.c |
Create Date:2022-07-28 19:09:00 |
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_find - Search for an interface record*@ns: the network namespace*@ifindex: the network interface* Description:* Search the network interface table and return the record matching @ifindex.* If an entry can not be found in the table return NULL.
Proto:static inline struct sel_netif *sel_netif_find(const struct net *ns, int ifindex)
Type:struct sel_netif
Parameter:
Type | Parameter | Name |
---|---|---|
const struct net * | ns | |
int | ifindex |
75 | If net_eq( network namespace , ns) && device index == ifindex Then Return netif |
79 | Return NULL |
Name | Describe |
---|---|
sel_netif_sid_slow | sel_netif_sid_slow - Lookup the SID of a network interface using the policy*@ns: the network namespace*@ifindex: the network interface*@sid: interface SID* Description:* This function determines the SID of a network interface by quering the |
sel_netif_sid | 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 |
sel_netif_kill | sel_netif_kill - Remove an entry from the network interface table*@ns: the network namespace*@ifindex: the network interface* Description:* This function removes the entry matching @ifindex from the network interface* table if it exists. |
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 |