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_try_make_writable

Proto:static inline int skb_try_make_writable(struct sk_buff *skb, unsigned int write_len)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
unsigned intwrite_len
3107  Return skb_cloned - is the buffer a clone*@skb: buffer to check* Returns true if the buffer was generated with skb_clone() and is* one of multiple shared copies of the buffer. Cloned buffers are* shared data so must not be written to under normal circumstances. && Not 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. && reallocate header of sk_buff