函数逻辑报告

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_netdev_notifier_handler

函数原型:static int sel_netif_netdev_notifier_handler(struct notifier_block *this, unsigned long event, void *ptr)

返回类型:int

参数:

类型参数名称
struct notifier_block *this
unsigned longevent
void *ptr
253  dev等于netdev_notifier_info_to_dev(ptr)
255  如果event恒等于NETDEV_DOWNsel_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  返回:Don't care