函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\netif.c Create Date:2022-07-27 20:39:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sel_netif_flush - Flush the entire network interface table* Description:* Remove all entries from the network interface table.

函数原型:void sel_netif_flush(void)

返回类型:void

参数:

243  spin_lock_bh( & sel_netif_lock)
244 idx小于SEL_NETIF_HASH_SIZE循环list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(netif, & sel_netif_hash[idx], list)
246  sel_netif_destroy - Remove an interface record from the table*@netif: the existing interface record* Description:* Remove an existing interface record from the network interface table.
247  spin_unlock_bh( & sel_netif_lock)