netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Best way to hook incoming eth pkts?
@ 2003-08-20 15:47 Jeff Garzik
  2003-08-20 17:48 ` Bryan O'Sullivan
  2003-08-20 17:49 ` Michael Richardson
  0 siblings, 2 replies; 8+ messages in thread
From: Jeff Garzik @ 2003-08-20 15:47 UTC (permalink / raw)
  To: netdev

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

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

end of thread, other threads:[~2003-08-20 18:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-20 15:47 Best way to hook incoming eth pkts? Jeff Garzik
2003-08-20 17:48 ` 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

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).