Query: pskb_copy
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PSKB_COPY(9) Linux Networking PSKB_COPY(9)NAMEpskb_copy - create copy of an sk_buff with private head.SYNOPSISstruct sk_buff * pskb_copy(struct sk_buff * skb, gfp_t gfp_mask);ARGUMENTSskb buffer to copy gfp_mask allocation priorityDESCRIPTIONMake a copy of both an sk_buff and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of sk_buff and needs private copy of the header to alter. Returns NULL on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PSKB_COPY(9)