[ECOS] Re: Fwd: Sending raw packets on eCos

Grant Edwards grante@visi.com
Mon Apr 30 14:15:00 GMT 2007


On 2007-04-30, Andrew Lunn <andrew@lunn.ch> wrote:

>> Obviously, some way to send/receive raw Ethernet packets (akin
>> to socket(AF_PACKET, SOCK_RAW, protoNumer) under Linux) would
>> save us a lot of work.
>
> Have you looked at porting the FreeBSD equivalent of SOCK_RAW.
> With any luck you just need to drop in a few files and it
> runs.

No, I don't think anybody's looked into that.  It would be nice
to have standardized support, though it would mean giving up
the zero-copy feature of our current implementation. I've
always been a little surprised that there wasn't more demand
for the ability to support proprietary protocols in eCos
embedded devices.

-- 
Grant Edwards                   grante             Yow! Are you still an
                                  at               ALCOHOLIC?
                               visi.com            


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