suse man page for skb_copy

Query: skb_copy

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SKB_COPY(9)							 Linux Networking						       SKB_COPY(9)

NAME
skb_copy - create private copy of an sk_buff
SYNOPSIS
struct sk_buff * skb_copy(const struct sk_buff * skb, gfp_t gfp_mask);
ARGUMENTS
skb buffer to copy gfp_mask allocation priority
DESCRIPTION
Make a copy of both an sk_buff and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns NULL on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear sk_buff to linear one, so that sk_buff becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy instead.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SKB_COPY(9)
Related Man Pages
wimax_msg_alloc(9) - suse
journal_try_to_free_buffers(9) - centos
struct_sk_buff(9) - centos
wimax_msg_alloc(9) - centos
__skb_recv_datagram(9) - suse
Similar Topics in the Unix Linux Community
Why cannot only the "rtl8139_rx" function be setted breakpoint on whereas the others can?
TuxOnIce stalls 3 times before resuming