Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static void sel_netif_destroy(struct sel_netif *netif)

Type:void

Parameter:

TypeParameterName
struct sel_netif *netif
115  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
116  sel_netif_total--
117  kfree_rcu() - kfree an object after a grace period(netif, rcu_head)
Caller
NameDescribe
sel_netif_killsel_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.
sel_netif_flushsel_netif_flush - Flush the entire network interface table* Description:* Remove all entries from the network interface table.