Re: sk_buff question

From: Francois Romieu (romieu@cogenit.fr)
Date: Fri Jun 01 2001 - 03:21:09 EST


Emmanuel Varagnat <varagnat@crm.mot.com> écrit :
> I need to had a header to the data in the sk_buff.
> But what to do if there is no enough space left at the head ?

I assume "alloc+copy" isn't the expected answer, is it ?

> I saw skb_copy_expand, but it gives me a new sk_buff. Is there
> a way to expand the headroom and keep the pointer on the sk_buff ?

pskb_expand_head maybe.

-- 
Ueimor 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 07 2001 - 21:00:12 EST