函数逻辑报告 |
Source Code:security\selinux\netif.c |
Create Date:2022-07-27 20:39:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static inline struct sel_netif *sel_netif_find(const struct net *ns, int ifindex)
返回类型:struct sel_netif
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct net * | ns | |
int | ifindex |
74 | 遍历RCU(netif, & sel_netif_hash[idx], list) |
75 | 如果net_eq( network namespace , ns)且 device index 恒等于ifindex则返回:netif |
79 | 返回:NULL |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |