Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:gso_pskb_expand_head

Proto:static inline int gso_pskb_expand_head(struct sk_buff *skb, int extra)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
intextra
4350  headroom = skb_headroom - bytes at buffer head*@skb: buffer to check* Return the number of bytes of free space at the head of an &sk_buff.
4351  ret = reallocate header of sk_buff
4352  If ret Then Return ret
4355  new_headroom = skb_headroom - bytes at buffer head*@skb: buffer to check* Return the number of bytes of free space at the head of an &sk_buff.
4356  mac_offset += new_headroom - headroom
4357  Return 0