函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_put_zero

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

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
unsigned intlen
2223  tmp等于设置数据在缓存区
2225  memset(tmp, 0, len)
2227  返回:tmp
调用者
名称描述
__nla_reserve_nohdr__nla_reserve_nohdr - reserve room for attribute without header*@skb: socket buffer to reserve room on*@attrlen: length of attribute payload* Reserves room for attribute payload without a header