.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "PSKB_EXPAND_HEAD" "9" "09 October 2005" "" "" .SH NAME pskb_expand_head \- reallocate header of &sk_buff .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int pskb_expand_head (struct sk_buff * \fIskb\fB, int \fInhead\fB, int \fIntail\fB, unsigned int __nocast \fIgfp_mask\fB); \fR .SH "ARGUMENTS" .TP \fB\fIskb\fB\fR buffer to reallocate .TP \fB\fInhead\fB\fR room to add at head .TP \fB\fIntail\fB\fR room to add at tail .TP \fB\fIgfp_mask\fB\fR allocation priority .SH "DESCRIPTION" .PP 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. .PP All the pointers pointing into skb header may change and must be reloaded after call to this function.