Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static inline int skb_cow_head(struct sk_buff *skb, unsigned int headroom)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
unsigned intheadroom
3154  Return __skb_cow(skb, headroom, skb_header_cloned - is the header a clone*@skb: buffer to check* Returns true if modifying the header part of the buffer requires* the data to be copied.)