函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__ipv6_confirm_neigh

函数原型:static inline void __ipv6_confirm_neigh(struct net_device *dev, const void *pkey)

返回类型:void

参数:

类型参数名称
struct net_device *dev
const void *pkey
411  _read_lock_bh() - mark the beginning of an RCU-bh critical section* This is equivalent of rcu_read_lock(), but also disables softirqs
412  n等于__ipv6_neigh_lookup_noref(dev, pkey)
413  如果n
414  now等于jiffies
417  如果READ_ONCE(confirmed)不等于nowWRITE_ONCE(confirmed, now)
420  标记rcu锁结束的软中断