函数逻辑报告

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_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.

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

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
unsigned intlen
2678  err等于pskb_trim(skb, len)
2679  BUG_ON(err)