From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29132 invoked by alias); 30 Apr 2007 08:20:45 -0000 Received: (qmail 29119 invoked by uid 22791); 30 Apr 2007 08:20:43 -0000 X-Spam-Check-By: sourceware.org Received: from anchor-post-32.mail.demon.net (HELO anchor-post-32.mail.demon.net) (194.217.242.90) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Apr 2007 09:20:39 +0100 Received: from calivar.demon.co.uk ([83.104.54.243] helo=xl5.calivar.com) by anchor-post-32.mail.demon.net with esmtp (Exim 4.42) id 1HiR7Z-0006ju-8I; Mon, 30 Apr 2007 08:20:34 +0000 Received: from xl5.calivar.com (localhost [127.0.0.1]) by xl5.calivar.com (Postfix) with ESMTP id A5BB81386F7; Mon, 30 Apr 2007 09:20:32 +0100 (BST) To: manesh Cc: ecos-discuss@sources.redhat.com References: <1177582674.805294.203270@s33g2000prh.googlegroups.com> <20070426133443.GA22158@lunn.ch> <1177738903.263455.239890@l77g2000hsb.googlegroups.com> <1177753990.919543.45310@y80g2000hsf.googlegroups.com> From: Nick Garnett Original-Sender: nickg@ecoscentric.com Date: Mon, 30 Apr 2007 08:20:00 -0000 In-Reply-To: <1177753990.919543.45310@y80g2000hsf.googlegroups.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Re: [ECOS] Fwd: Sending raw packets on eCos X-SW-Source: 2007-04/txt/msg00161.txt.bz2 manesh writes: > Hello, > I went through some pages of the archive, but it does'nt > give a clear picture of wether we can send ARP requests on Linux > synthetic target?? > Actually on Linux I was able to send ARP packets since linux > network stack support "packet socket"( by which we can send and > receive the packets at the device driver level), which is not there in > eCos. Infact "rawether.c" itself sends the packet using PF_PACKET > support. Clearly, you cannot use Linux interfaces anywhere else other than the synthetic target. On a real target you can only use the BSD stack, which is quite different from Linux in this area. But why do you want to send ARP requests at all? The BSD stack has its own ARP support already built in, there is no reason for applications to do their own ARP processing. -- Nick Garnett eCos Kernel Architect eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss