[ECOS] Interfacing directly to the low level ethernet driver, how??

Gary Thomas gary@mlbassoc.com
Thu Jun 28 15:31:00 GMT 2007

Hash: SHA1

Michele Paselli wrote:
> Could you plase be more precise? I don't thing I got your question, I
> thought that the version of FreeBSD on eCos didn't implement RAW
> sockets. Or at least that's what I understood from previous threads
> here. Am I wrong?

Indeed, RAW sockets are not [currently] implemented.  My question was
what do you need that RAW sockets cannot provide?  I think it would be
a *much* simpler task to get RAW sockets working within the existing
stack than to write your own networking layer.

> On 6/28/07, Gary Thomas <gary@mlbassoc.com> wrote:
> Michele Paselli wrote:
>> Hi ,
>> I'm about to develop a raw ethernet driver. After spending quite a lot
>> of time reading the forum and analyzing the code I finally decide to
>> implement a raw I/O API as suggested by Grant Edwards here:
>> http://www.cygwin.com/ml/ecos-discuss/2003-06/msg00017.html
> What's the point of this?  Couldn't you solve your problem by
> using RAW sockets?
> The reason for asking is just to point out that your ethernet
> "wire" will be pretty useless except for whatever raw traffic
> you push across it.

- --
- ------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
- ------------------------------------------------------------
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list