函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_cow_head - skb_cow but only making the head writable*@skb: buffer to cow*@headroom: needed headroom* This function is identical to skb_cow except that we replace the* skb_cloned check by skb_header_cloned

函数原型:static inline int skb_cow_head(struct sk_buff *skb, unsigned int headroom)

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
unsigned intheadroom
3154  返回:__skb_cow(skb, headroom, skb头是克隆的)
调用者
名称描述
__vlan_insert_inner_tag__vlan_insert_inner_tag - inner VLAN tag inserting*@skb: skbuff to tag*@vlan_proto: VLAN encapsulation protocol*@vlan_tci: VLAN TCI to insert*@mac_len: MAC header length including outer vlan headers* Inserts the VLAN tag into @skb as part of the payload