Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\netif.c Create Date:2022-07-28 19:09:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sel_netif_flush - Flush the entire network interface table* Description:* Remove all entries from the network interface table.

Proto:void sel_netif_flush(void)

Type:void

Parameter:Nothing

243  spin_lock_bh( & sel_netif_lock)
244  When idx < SEL_NETIF_HASH_SIZE cycle 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)