函数逻辑报告

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

函数名称:__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.

函数原型:static inline struct inet6_dev *__in6_dev_stats_get(const struct net_device *dev, const struct sk_buff *skb)

返回类型:struct inet6_dev

参数:

类型参数名称
const struct net_device *dev
const struct sk_buff *skb
323  如果netif_is_l3_master(dev)则dev等于dev_get_by_index_rcu(Net namespace inlines, inet6_iif(skb))
325  返回:从inet6_dev netdevice得到指针