Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static inline int skb_header_cloned(const struct sk_buff *skb)

Type:int

Parameter:

TypeParameterName
const struct sk_buff *skb
1625  If Not cloned Then Return 0
1628  dataref = atomic_read( & Warning : all fields before dataref are cleared in __alloc_skb())
1629  dataref = (dataref & SKB_DATAREF_MASK) - (dataref >> We divide dataref into two halves)
1630  Return dataref != 1