Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\netdevice.h Create Date:2022-07-28 06:05:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:netdev_reg_state

Proto:static inline const char *netdev_reg_state(const struct net_device *dev)

Type:char

Parameter:

TypeParameterName
const struct net_device *dev
4727  Case reg_state == NETREG_UNINITIALIZED
4727  Return " (uninitialized)"
4728  Case reg_state == completed register_netdevice
4728  Return ""
4729  Case reg_state == called unregister_netdevice
4729  Return " (unregistering)"
4730  Case reg_state == completed unregister todo
4730  Return " (unregistered)"
4731  Case reg_state == called free_netdev
4731  Return " (released)"
4732  Case reg_state == dummy device for NAPI poll
4732  Return " (dummy)"
4735  WARN_ONCE(1, "%s: unknown reg_state %d\n", name, reg_state)
4736  Return " (unknown)"
Caller
NameDescribe
__dynamic_netdev_dbg