Re: [Autoconf] what's a router

Alexandru Petrescu <alexandru.petrescu@gmail.com> Thu, 05 August 2010 11:59 UTC

Return-Path: <alexandru.petrescu@gmail.com>
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 C9D913A6A77 for <autoconf@core3.amsl.com>; Thu, 5 Aug 2010 04:59:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.858
X-Spam-Level:
X-Spam-Status: No, score=-0.858 tagged_above=-999 required=5 tests=[AWL=-1.209, BAYES_50=0.001, HELO_EQ_FR=0.35]
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 c6nh7v-mekCg for <autoconf@core3.amsl.com>; Thu, 5 Aug 2010 04:59:36 -0700 (PDT)
Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.166.172.106]) by core3.amsl.com (Postfix) with ESMTP id 705633A695B for <autoconf@ietf.org>; Thu, 5 Aug 2010 04:59:36 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id o75C03OT031564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 5 Aug 2010 14:00:03 +0200
Received: from muguet2.intra.cea.fr (muguet2.intra.cea.fr [132.166.192.7]) by pisaure.intra.cea.fr (8.14.4/8.14.4) with ESMTP id o75C02QK018258; Thu, 5 Aug 2010 14:00:03 +0200 (envelope-from alexandru.petrescu@gmail.com)
Received: from [127.0.0.1] ([132.166.133.173]) by muguet2.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.1) with ESMTP id o75C020f013204; Thu, 5 Aug 2010 14:00:02 +0200
Message-ID: <4C5AA7C2.5030909@gmail.com>
Date: Thu, 05 Aug 2010 14:00:02 +0200
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1
MIME-Version: 1.0
To: Rogge Henning <henning.rogge@fkie.fraunhofer.de>
References: <4C528979.7010006@oracle.com> <201008051142.48619.henning.rogge@fkie.fraunhofer.de> <4C5A8B9A.90904@gmail.com> <201008051226.04921.henning.rogge@fkie.fraunhofer.de> <4C5A9DE4.5030207@gmail.com> <E41E2EFD375E3C4BBA54A4CAC3F50C241CF018@mailserv1.lorien.fkie.fgan.de>
In-Reply-To: <E41E2EFD375E3C4BBA54A4CAC3F50C241CF018@mailserv1.lorien.fkie.fgan.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
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 11:59:37 -0000

Le 05/08/2010 13:39, Rogge Henning a écrit :
>> -----Ursprüngliche Nachricht-----
>> Von: Alexandru Petrescu [mailto:alexandru.petrescu@gmail.com]
>>
>>> Yes... difficult choice between the localhost interface and
>>> the only physical outgoing interface wlan0.
>>
>> So a MANET Router actually has at least two interfaces, which
>> makes it more of a router indeed, in my reading.
> WTF ?
>
> So a computer with two localhost interfaces is a router in your oppinion ?
> Funny idea to forwarding a packet with a nexthop on a localhost interface.

Funny indeed... it would still route between localhost interfaces, there 
would be choice for tht algo.

>>>>> 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.
>>
>> Good to know, I haven't tried android linux.
>>
>>> Include files are necessary to COMPILE code... not to run it. They
>>
>> Compile with static or dynamic link edition?
> Both of them. Header files DO NOT MATTER except for the compiler.
>
>>> 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.
>>
>> Libraries .so, .dll, modules .ko and kernel images may need
>> .h at run time...
> Good luck finding a header file on your windows machine.
>
> Alexandru, please take a break and read some good books about C, operation
> systems and compilers. I think you have proven that you need to do some
> research.

Ok, good advice in general.  I will have to look closer at this.  I do 
like the idea of router.h representing a router software though.

Alex

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