函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:检查skb的dst未被引用

函数原型:static inline bool skb_dst_is_noref(const struct sk_buff *skb)

返回类型:bool

参数:

类型参数名称
const struct sk_buff *skb
966  返回:_skb_refdst按位与skb might have a dst pointer attached, refcounted or not.* _skb_refdst low order bit is set if refcount was _not_ takenskb_dst - returns skb dst_entry*@skb: buffer* Returns skb dst_entry, regardless of reference taken or not.
调用者
名称描述
skb_dst_force确保DST是引用计数