Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__in6_dev_get - get inet6_dev pointer from netdevice*@dev: network device* Caller must hold rcu_read_lock or RTNL, because this function* does not take a reference on the inet6_dev.

Proto:static inline struct inet6_dev *__in6_dev_get(const struct net_device *dev)

Type:struct inet6_dev

Parameter:

TypeParameterName
const struct net_device *dev
309  Return cu_dereference_rtnl - rcu_dereference with debug checking*@p: The pointer to read, prior to dereferencing* Do an rcu_dereference(p), but check caller either holds rcu_read_lock()* or RTNL. Note : Please prefer rtnl_dereference() or rcu_dereference()(ip6_ptr)