Scroll to navigation

SKB_CLONED(9) Linux Networking SKB_CLONED(9)

NAME

skb_cloned - is the buffer a clone

SYNOPSIS

int skb_cloned(const struct sk_buff * skb);

ARGUMENTS

const struct sk_buff * skb
buffer to check

DESCRIPTION

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.

COPYRIGHT

September 2017 Kernel Hackers Manual 4.12