From: Joshua Stewart <joshua.stewart@comcast.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux network development <netdev@oss.sgi.com>
Subject: Pushing a stray sk_buff to the NIC
Date: Thu, 09 Jan 2003 20:10:53 -0500 [thread overview]
Message-ID: <1042161058.6107.18.camel@localhost.localdomain> (raw)
I'm trying to take "hand-built" sk_buffs with little more than some data
and a dev member and push them to the NIC for transmission. I would
like to simply give them to dev_queue_xmit. Does anybody know what
state I should have them in before handing them to dev_queue_xmit?
Should skb->data point to the start of a MAC header or an IP header?
Also, given an IP address in skb->nh.iph->daddr, what's the easiest way
to get the appropriate MAC address?
J
next reply other threads:[~2003-01-10 1:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-10 1:10 Joshua Stewart [this message]
2003-01-10 14:34 ` Pushing a stray sk_buff to the NIC Rui Sousa
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=1042161058.6107.18.camel@localhost.localdomain \
--to=joshua.stewart@comcast.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
/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