函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:gso_pskb_expand_head

函数原型:static inline int gso_pskb_expand_head(struct sk_buff *skb, int extra)

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
intextra
4350  headroom等于缓存区头部字节
4351  ret等于重新分配sk_buff头
4352  如果ret则返回:ret
4355  new_headroom等于缓存区头部字节
4356  mac_offset加等于new_headroomheadroom
4357  返回:0