ALLOC_SKB

Section: (9)
Updated: 14 August 2003
Index Return to Main Contents

 

NAME

alloc_skb - allocate a network buffer  

SYNOPSIS

struct sk_buff * alloc_skb (unsigned int size, int gfp_mask);  

ARGUMENTS

size
size to allocate
gfp_mask
allocation mask
 

DESCRIPTION

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

Buffers may only be allocated from interrupts using a gfp_mask of GFP_ATOMIC.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 23:19:18 GMT, August 13, 2003