From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24331 invoked by alias); 30 Apr 2007 14:15:11 -0000 Received: (qmail 24226 invoked by uid 22791); 30 Apr 2007 14:15:10 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Apr 2007 15:15:07 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HiWeW-0006A0-KG for ecos-discuss@sources.redhat.com; Mon, 30 Apr 2007 16:14:56 +0200 Received: from c-76-17-159-202.hsd1.mn.comcast.net ([76.17.159.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Apr 2007 16:14:56 +0200 Received: from grante by c-76-17-159-202.hsd1.mn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Apr 2007 16:14:56 +0200 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Mon, 30 Apr 2007 14:15:00 -0000 Message-ID: References: <1177582674.805294.203270@s33g2000prh.googlegroups.com> <20070426133443.GA22158@lunn.ch> <1177738903.263455.239890@l77g2000hsb.googlegroups.com> <1177753990.919543.45310@y80g2000hsf.googlegroups.com> <1177926816.728845.292060@c35g2000hsg.googlegroups.com> <1177930381.251419.318920@y5g2000hsa.googlegroups.com> <20070430135828.GG28128@lunn.ch> User-Agent: slrn/0.9.8.1 (Linux) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: Fwd: Sending raw packets on eCos X-SW-Source: 2007-04/txt/msg00171.txt.bz2 On 2007-04-30, Andrew Lunn 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