netdev
[Top] [All Lists]

constructing struct sk_buff objects from a pre-allocated buffer

To: <netdev@xxxxxxxxxxx>
Subject: constructing struct sk_buff objects from a pre-allocated buffer
From: "Abramson, Aharon" <aharon.abramson@xxxxxxxxx>
Date: Mon, 6 Jun 2005 14:14:31 +0300
Sender: netdev-bounce@xxxxxxxxxxx
Thread-index: AcVqiOkzUm0R5PdXRKi+rrqFWxuSMg==
Thread-topic: constructing struct sk_buff objects from a pre-allocated buffer
Hello, all.
I'm developing a network device driver. This device may deliver multiple frames in single pre-allocated receive buffer. How do I construct struct sk_buff objects for these frames, since alloc_skb allocates the object's data by itself?
 
Thanks,
Aharon Abramson
 
<Prev in Thread] Current Thread [Next in Thread>
  • constructing struct sk_buff objects from a pre-allocated buffer, Abramson, Aharon <=