__alloc_skb - allocate a network buffer
"struct sk_buff * __alloc_skb(unsigned int " "size" ", gfp_t " "gfp_mask" ", int " "fclone" ", int " "node" ");"
size
size to allocategfp_maskallocation maskfclone
allocate from fclone cache instead of head cache and allocate a cloned (child) skbnodenuma node to allocate memory on
Allocate a new &sk_buff. The returned buffer has no headroom and a tail room of size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is NULLfR.
Buffers may only be allocated from interrupts using a gfp_mask of GFP_ATOMICfR.