函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_can_coalesce

函数原型:static inline bool skb_can_coalesce(struct sk_buff *skb, int i, const struct page *page, int off)

返回类型:bool

参数:

类型参数名称
struct sk_buff *skb
inti
const struct page *page
intoff
3237  如果skb_zcopy(skb)则返回:false
3239  如果i
3240  frag等于must be last field, see pskb_expand_head() [i - 1]
3242  返回:page恒等于检索页面被分页片段off恒等于skb_frag_off() - Returns the offset of a skb fragment*@frag: the paged fragmentskb_frag_size() - Returns the size of a skb fragment*@frag: skb fragment
3245  返回:false