函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_put_padto - increase size and pad an skbuff up to a minimal size*@skb: buffer to pad*@len: minimal length* Pads up a buffer to ensure the trailing bytes exist and are* blanked. If the buffer already contains sufficient data it* is untouched

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

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
unsigned intlen
3212  返回:__skb_put_padto - increase size and pad an skbuff up to a minimal size*@skb: buffer to pad*@len: minimal length*@free_on_error: free buffer on error* Pads up a buffer to ensure the trailing bytes exist and are* blanked
调用者
名称描述
eth_skb_pad缓冲到最小数量的以太网帧