netdev
[Top] [All Lists]

Re: suggestion for routing code improvement

To: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
Subject: Re: suggestion for routing code improvement
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 11 Apr 2002 02:24:36 +0000 (GMT)
Cc: Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
In-reply-to: <15540.50303.858294.986710@robur.slu.se>
Sender: owner-netdev@xxxxxxxxxxx
        Hello,

On Thu, 11 Apr 2002, Robert Olsson wrote:

>  If we limit us to "static routes" for the other routes we must definitely 
> leave to 
>  some with routing/topologi knowledge and we must not break systems with 
> "routing 
>  daemons".

        include/linux/rtnetlink.h already contains the needed RTPROT_xxx
definitions. The most used daemons don't use RTPROT_STATIC. The kernel
does not know that the daemon registers static routes, they all
have its own RTPROT_value. The static routes are marked as such only
in the daemon's config file. May be it is possible value RTPROT_STATIC
to be marked in comments as a kernel property.

Regards

--
Julian Anastasov <ja@xxxxxx>


<Prev in Thread] Current Thread [Next in Thread>