public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RedBoot: __eth_install_handler?
@ 2001-01-22 11:54 Grant Edwards
  2001-01-22 12:04 ` Gary Thomas
  2001-01-22 14:51 ` Grant Edwards
  0 siblings, 2 replies; 9+ messages in thread
From: Grant Edwards @ 2001-01-22 11:54 UTC (permalink / raw)
  To: ecos-discuss

In RedBoot's net.h file, there's a declaration for
__eth_install_handler(), which would seem from the declaration to
do exactly what I want to do: set a call-back to handle packets
with Ethernet protocol type <whatever>.

That functionality hasn't been implemented, so I'm about to
implement it.  

Were I doing this just for myself, I would probably just use
CYG_HAL_TABLE_xxxx to set up handlers at compile/link time and
not bother with run-time handler set up.  It's a bit simpler,
and you don't to guess ahead of time how many different handler
need to be allowed.  [I really like the HAL_TABLE mechanism:
it's quite clever, and it's something that I've needed on a
number of occasions.]

However, if people think run-time handler set-up is useful,
I'll go ahead and implement the existing API instead of using
the HAL_TABLE method.

Opinions?

-- 
Grant Edwards
grante@visi.com

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

end of thread, other threads:[~2001-01-31  4:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-22 11:54 [ECOS] RedBoot: __eth_install_handler? Grant Edwards
2001-01-22 12:04 ` Gary Thomas
2001-01-22 12:53   ` Grant Edwards
2001-01-22 14:09     ` Grant Edwards
2001-01-22 14:51       ` Gary Thomas
2001-01-23  0:13         ` Andrew Lunn
2001-01-22 14:51 ` Grant Edwards
2001-01-22 15:56   ` Grant Edwards
2001-01-31  4:25   ` Gary Thomas

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 read-only IMAP folder(s) and NNTP newsgroup(s).