PSKB_COPY

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

pskb_copy - create copy of an sk_buff with private head.  

SYNOPSIS

"SYNOPSIS"

struct sk_buff * pskb_copy (struct sk_buff * skb, int gfp_mask);  

ARGUMENTS

skb
buffer to copy
gfp_mask
allocation priority
 

DESCRIPTION

Make 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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 07:07:23 GMT, October 06, 2005