1PSKB_COPY(9)                   Linux Networking                   PSKB_COPY(9)
2
3
4

NAME

6       pskb_copy - create copy of an sk_buff with private head.
7

SYNOPSIS

9       struct sk_buff * pskb_copy(struct sk_buff * skb, gfp_t gfp_mask);
10

ARGUMENTS

12       skb
13           buffer to copy
14
15       gfp_mask
16           allocation priority
17

DESCRIPTION

19       Make a copy of both an sk_buff and part of its data, located in header.
20       Fragmented data remain shared. This is used when the caller wishes to
21       modify only header of sk_buff and needs private copy of the header to
22       alter. Returns NULL on failure or the pointer to the buffer on success.
23       The returned buffer has a reference count of 1.
24
26Kernel Hackers Manual 2.6.       November 2011                    PSKB_COPY(9)
Impressum