函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_is_nonlinear

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

返回类型:bool

参数:

类型参数名称
const struct sk_buff *skb
2067  返回:data_len
调用者
名称描述
skb_tailroom缓存区尾部字节
skb_availroom缓冲区结束
__skb_set_length
skb_linearize转换为线性skb分页
skb_has_shared_frag可以任何片段被覆盖
skb_linearize_cow确保其是线性的和可写的
skb_needs_linearizeskb_needs_linearize - check if we need to linearize a given skb* depending on the given device features.*@skb: socket buffer to check*@features: net device features* Returns true if either:* 1. skb has frag_list and the device doesn't support FRAGLIST, or
skb_warn_if_lro
udp_skb_is_linear