From: Jeff Garzik <jgarzik@pobox.com>
To: netdev@oss.sgi.com
Subject: Best way to hook incoming eth pkts?
Date: Wed, 20 Aug 2003 11:47:27 -0400 [thread overview]
Message-ID: <20030820154727.GB9119@gtf.org> (raw)
All,
netconsole, netdump, and ATA-over-ethernet (and others?) all have a need
to directly send and receive ethernet packets from inside the kernel.
The sending part is easy and obvious. The receive part isn't.
Essentially, all the things mentioned above need some way to listen
for incoming ethernet packets. ATA-over-ethernet has its own
IANA-registered ethernet type, but netconsole and netdump are using
IP/UDP instead of a custom ethernet protocol.
So, two questions for the gurus of the crowd ;-)
1) What is the best way for an in-kernel piece of software to
receive ethernet packets that are intended for it?
2) Possibly related to #1, is it a good or bad idea to consider sending
netconsole/netdump directly over ethernet, eschewing the IP/UDP/syslog
stuff?
Comments and insight requested.
Jeff
next reply other threads:[~2003-08-20 15:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-20 15:47 Jeff Garzik [this message]
2003-08-20 17:48 ` Best way to hook incoming eth pkts? Bryan O'Sullivan
2003-08-20 17:51 ` Jeff Garzik
2003-08-20 17:49 ` Michael Richardson
2003-08-20 17:59 ` Jeff Garzik
2003-08-20 17:54 ` David S. Miller
2003-08-20 18:15 ` Jeff Garzik
2003-08-20 18:17 ` David S. Miller
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=20030820154727.GB9119@gtf.org \
--to=jgarzik@pobox.com \
--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;
as well as URLs for NNTP newsgroup(s).