Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__skb_grow

Proto:static inline int __skb_grow(struct sk_buff *skb, unsigned int len)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
unsigned intlen
2684  diff = len - len
2686  If skb_tailroom - bytes at buffer end*@skb: buffer to check* Return the number of bytes of free space at the tail of an sk_buff < diff Then
2687  ret = reallocate header of sk_buff
2689  If ret Then Return ret
2692  __skb_set_length(skb, len)
2693  Return 0