函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\addrconf.h Create Date:2022-07-27 07:08:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:从inet6_dev netdevice得到指针

函数原型:static inline struct inet6_dev *__in6_dev_get(const struct net_device *dev)

返回类型:struct inet6_dev

参数:

类型参数名称
const struct net_device *dev
309  返回: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)
调用者
名称描述
__in6_dev_stats_get__in6_dev_stats_get - get inet6_dev pointer for stats*@dev: network device*@skb: skb for original incoming interface if neeeded* Caller must hold rcu_read_lock or RTNL, because this function* does not take a reference on the inet6_dev.
__in6_dev_nd_parms_get_rcu
ip6_ignore_linkdownalled with rcu_read_lock held