Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:skb_clone_writable - is the header of a clone writable*@skb: buffer to check*@len: length up to which to write* Returns true if modifying the header part of the cloned buffer* does not requires the data to be copied.

Proto:static inline int skb_clone_writable(const struct sk_buff *skb, unsigned int len)

Type:int

Parameter:

TypeParameterName
const struct sk_buff *skb
unsigned intlen
3100  Return Not 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. && 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. + len <= hdr_len