From: michi1@michaelblizek.twilightparadox.com (michi1 at michaelblizek.twilightparadox.com)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Can anyone plz explain me the fields
Date: Thu, 4 Apr 2013 19:26:42 +0200 [thread overview]
Message-ID: <20130404172642.GC2256@grml> (raw)
In-Reply-To: <CAALD5izPo0uK9OykZy0SfQjs24GGDDkuopvtJA6OKPhHW1hNFA@mail.gmail.com>
Hi!
On 17:38 Thu 04 Apr , Tarun Batra wrote:
> Can anyone plz explain me the fields
>
>
> skb = kmem_cache_alloc(skbuff_head_cache, gfp_mask & ~_ _GFP_DMA);
> ... ... ...
> size = SKB_DATA_ALIGN(size);
size of data buffer (the bytes you send over the wire not the overhead of
everything you need in ram to process the packets)
> data = kmalloc(size + sizeof(struct skb_shared_info), gfp_mask);
data is the actual buffer (+skb_shared_info at the end of it)
-Michi
--
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com
prev parent reply other threads:[~2013-04-04 17:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-04 12:08 Can anyone plz explain me the fields Tarun Batra
2013-04-04 17:26 ` michi1 at michaelblizek.twilightparadox.com [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130404172642.GC2256@grml \
--to=michi1@michaelblizek.twilightparadox.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).