函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pskb_trim

函数原型:static inline int pskb_trim(struct sk_buff *skb, unsigned int len)

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
unsigned intlen
2664  返回:如果len小于len__pskb_trim(skb, len)否则0
调用者
名称描述
pskb_trim_uniquepskb_trim_unique - remove end from a paged unique (not cloned) buffer*@skb: buffer to alter*@len: new length* This is identical to pskb_trim except that the caller knows that* the skb is not cloned so we should never get an error due to out-* of-memory.