From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18510 invoked by alias); 30 Apr 2007 09:53:44 -0000 Received: (qmail 18499 invoked by uid 22791); 30 Apr 2007 09:53:43 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0708.google.com (HELO wr-out-0708.google.com) (64.233.184.251) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Apr 2007 10:53:41 +0100 Received: by wr-out-0708.google.com with SMTP id 28so1923750wra for ; Mon, 30 Apr 2007 02:53:39 -0700 (PDT) Received: by 10.114.204.13 with SMTP id b13mr529392wag.1177926818930; Mon, 30 Apr 2007 02:53:38 -0700 (PDT) Received: by c35g2000hsg.googlegroups.com with HTTP; Mon, 30 Apr 2007 09:53:36 +0000 (UTC) X-IP: 58.68.22.82 From: manesh To: Nick Garnett Cc: ecos-discuss@sources.redhat.com,"osdeve. mirror. rtos. ecos-discuss" Date: Mon, 30 Apr 2007 09:53:00 -0000 Message-ID: <1177926816.728845.292060@c35g2000hsg.googlegroups.com> In-Reply-To: References: <1177582674.805294.203270@s33g2000prh.googlegroups.com> <20070426133443.GA22158@lunn.ch> <1177738903.263455.239890@l77g2000hsb.googlegroups.com> <1177753990.919543.45310@y80g2000hsf.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 CACHE-Engine:3128 (squid/2.5.STABLE2) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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/msg00163.txt.bz2 > 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. I need to use ARP packet, to check the host IP address if it is already in use. This check is usually performed by the eCos network thread, at the OS start up, but I need this to happen at periodic intervals. Its a basic "whois" frame which I need to send. There is another option by sending an ICMP request, but which I am not supposed to do. Can I use any functions of the built in support? Regards Manesh -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss