Re: sk_buff question

Francois Romieu (romieu@cogenit.fr)
Fri, 1 Jun 2001 10:21:09 +0200


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/