Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:skb_can_coalesce

Proto:static inline bool skb_can_coalesce(struct sk_buff *skb, int i, const struct page *page, int off)

Type:bool

Parameter:

TypeParameterName
struct sk_buff *skb
inti
const struct page *page
intoff
3237  If skb_zcopy(skb) Then Return false
3239  If i Then
3240  frag = must be last field, see pskb_expand_head() [i - 1]
3242  Return page == skb_frag_page - retrieve the page referred to by a paged fragment*@frag: the paged fragment* Returns the &struct page associated with @frag. && off == skb_frag_off() - Returns the offset of a skb fragment*@frag: the paged fragment + skb_frag_size() - Returns the size of a skb fragment*@frag: skb fragment
3245  Return false