函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__skb_put

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

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
unsigned intlen
2192  tmp等于skb_tail_pointer(skb)
2193  SKB_LINEAR_ASSERT(skb)
2194  These elements must be at the end, see alloc_skb() for details. 加等于len
2195  len加等于len
2196  返回:tmp
调用者
名称描述
test_blackholedev_init
cpu_map_build_skb
__skb_put_zero
__skb_put_data
__skb_put_u8
__skb_put_padto__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