Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__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.

Proto:static inline struct inet6_dev *__in6_dev_stats_get(const struct net_device *dev, const struct sk_buff *skb)

Type:struct inet6_dev

Parameter:

TypeParameterName
const struct net_device *dev
const struct sk_buff *skb
323  If netif_is_l3_master(dev) Then dev = dev_get_by_index_rcu(Net namespace inlines, inet6_iif(skb))
325  Return __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.