Name

skb_clone_writable — is the header of a clone writable

Synopsis

int skb_clone_writable (const struct sk_buff * skb,
 unsigned int len);
 

Arguments

const struct sk_buff * skb

buffer to check

unsigned int len

length up to which to write

Description

Returns true if modifying the header part of the cloned buffer does not requires the data to be copied.