netdev
[Top] [All Lists]

Re: [RTNETLINK] Provide real oif

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [RTNETLINK] Provide real oif
From: jamal <hadi@xxxxxxxxxx>
Date: 02 Dec 2003 07:31:57 -0500
Cc: "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20031202110224.GA25957@xxxxxxxxxxxxxxxxxxx>
Organization: jamalopolis
References: <20031202110224.GA25957@xxxxxxxxxxxxxxxxxxx>
Reply-to: hadi@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 2003-12-02 at 06:02, Herbert Xu wrote:
> Hi Dave:
> 
> This patch adds a new attribute RTA_PREFOIF to the RTNETLINK interface
> so that we can send the real oif to user space.  Hmm, would RTA_REALOIF
> be a better name? It really should be called RTA_OIF but that's already
> taken.
> 
> Currently if there are two entries in the routing cache that only differ
> by the value of oif then they will appear identical to user space.  The
> only way to tell them apart would be to export the value of oif from
> the kernel.
> 

Can you provide a real example (output of route display in user space)
where this would be valuable?
whats wrong with the combo of RTA_OIF and RTA_SRC?

cheers,
jamal


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