Re: [Autoconf] what's a router

Henning Rogge <henning.rogge@fkie.fraunhofer.de> Thu, 05 August 2010 10:25 UTC

Return-Path: <henning.rogge@fkie.fraunhofer.de>
X-Original-To: autoconf@core3.amsl.com
Delivered-To: autoconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 26ECC3A6A6B for <autoconf@core3.amsl.com>; Thu, 5 Aug 2010 03:25:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.266
X-Spam-Level:
X-Spam-Status: No, score=-1.266 tagged_above=-999 required=5 tests=[AWL=-1.781, BAYES_20=-0.74, HELO_EQ_DE=0.35, RCVD_IN_PBL=0.905]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6DP8ho1gvnH7 for <autoconf@core3.amsl.com>; Thu, 5 Aug 2010 03:25:39 -0700 (PDT)
Received: from mailguard.fgan.de (mailguard.fkie.fraunhofer.de [IPv6:2001:638:401:102:1aa9:5ff:fe5f:7f22]) by core3.amsl.com (Postfix) with ESMTP id AF3113A6A72 for <autoconf@ietf.org>; Thu, 5 Aug 2010 03:25:38 -0700 (PDT)
Received: from rufsun5.fkie.fgan.de ([128.7.2.5] helo=mailhost.fgan.de) by mailguard.fgan.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <henning.rogge@fkie.fraunhofer.de>) id 1OgxeK-0002UZ-44; Thu, 05 Aug 2010 12:26:08 +0200
Received: from stream.fkie.fgan.de ([128.7.5.148] helo=stream.localnet) by mailhost.fgan.de with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <henning.rogge@fkie.fraunhofer.de>) id 1OgxeJ-0004bG-S6; Thu, 05 Aug 2010 12:26:07 +0200
From: Henning Rogge <henning.rogge@fkie.fraunhofer.de>
To: Alexandru Petrescu <alexandru.petrescu@gmail.com>
Date: Thu, 5 Aug 2010 12:25:48 +0200
User-Agent: KMail/1.13.5 (Linux/2.6.32-24-generic; KDE/4.4.5; i686; ; )
References: <4C528979.7010006@oracle.com> <201008051142.48619.henning.rogge@fkie.fraunhofer.de> <4C5A8B9A.90904@gmail.com>
In-Reply-To: <4C5A8B9A.90904@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1699168.sYExe2zFZb"; protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <201008051226.04921.henning.rogge@fkie.fraunhofer.de>
X-Virus-Scanned: yes (ClamAV 0.96.1/11503/Thu Aug 5 10:57:17 2010) by mailguard.fgan.de
X-Scan-Signature: 14a0c07cd84b051fadb649c67c803b4c
Cc: autoconf@ietf.org
Subject: Re: [Autoconf] what's a router
X-BeenThere: autoconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Ad-Hoc Network Autoconfiguration WG discussion list <autoconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/autoconf>, <mailto:autoconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/autoconf>
List-Post: <mailto:autoconf@ietf.org>
List-Help: <mailto:autoconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/autoconf>, <mailto:autoconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Aug 2010 10:25:40 -0000

On Thu August 5 2010 11:59:54 Alexandru Petrescu wrote:
> > That make no sense for a MANET, most MANET routers have only a single
> > interface.
> 
> Well, are MANET routers 'routers' at all?
Yes.
 
> Does a MANET router execute the longest-prefix match algorithm?
Most MANET routers I'm working with are linux systems... mostly on embedded 
hardware. So the answer is "yes" for the systems I know.
 
> Does a MANET router select an output interface depending on the result
> of that agorithm?  Or is it just doing it with always the same result?
Yes... difficult choice between the localhost interface and the only physical 
outgoing interface wlan0.

> > And you don't need any header files like route.h on a router, just
> > on your development system. I don't think you will find many
> > embedded routers (DSL, MANET, ...) with header files on them.
> 
> WEll... the /usr/include stuff is there everywhere in the deployed
> routers running binaries.  E.g. linux phones.  I think a device that
> boots a kernel has a file system and that should have a /usr/include.
Maybe you should check your facts before you post stuff like this.

I just opened the console of my android smartphone (linux based !) and I was 
not surprised that there are no include files on the device.

Include files are necessary to COMPILE code... not to run it. They are a waste 
of space on embedded linux systems, because you don't have a compiler on them. 
Noone creating a sane distribution for an embedded linux system would add an 
include file to it.

I would bet that neither a windows smartphone, nor a webos palm one, nor an 
iphone has any include header files on it's flash. Unless the user installed 
it afterwards.

Henning Rogge
-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:henning.rogge@fkie.fraunhofer.de http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0