PSKB_EXPAND_HEAD

Section: (9)
Updated: 09 April 2004
Index Return to Main Contents

 

NAME

pskb_expand_head - reallocate header of sk_buff  

SYNOPSIS

int pskb_expand_head (struct sk_buff * skb, int nhead, int ntail, int gfp_mask);  

ARGUMENTS

skb
buffer to reallocate
nhead
room to add at head
ntail
room to add at tail
gfp_mask
allocation priority
 

DESCRIPTION

Expands (or creates identical copy, if &nhead and &ntail are zero) header of skb. &sk_buff itself is not changed. &sk_buff MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, &sk_buff is not changed.

All the pointers pointing into skb header may change and must be reloaded after call to this function.  

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: 12:49:32 GMT, April 09, 2004