Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sel_netif_netdev_notifier_handler

Proto:static int sel_netif_netdev_notifier_handler(struct notifier_block *this, unsigned long event, void *ptr)

Type:int

Parameter:

TypeParameterName
struct notifier_block *this
unsigned longevent
void *ptr
253  dev = netdev_notifier_info_to_dev(ptr)
255  If event == NETDEV_DOWN Then 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.
258  Return Don't care