public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sk_buff question
@ 2001-05-31 15:59 Emmanuel Varagnat
  2001-06-01  8:21 ` Francois Romieu
  0 siblings, 1 reply; 2+ messages in thread
From: Emmanuel Varagnat @ 2001-05-31 15:59 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org


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 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 ?

Thanks

-Manu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sk_buff question
  2001-05-31 15:59 sk_buff question Emmanuel Varagnat
@ 2001-06-01  8:21 ` Francois Romieu
  0 siblings, 0 replies; 2+ messages in thread
From: Francois Romieu @ 2001-06-01  8:21 UTC (permalink / raw)
  To: Emmanuel Varagnat; +Cc: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 397 bytes --]

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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-01  8:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-31 15:59 sk_buff question Emmanuel Varagnat
2001-06-01  8:21 ` Francois Romieu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox