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.
Of course this patch by itself doesn't do anything. But once it is in
we can extend ip(8) to display it.
PS IPv6 doesn't seem to have an oif field so it doesn't need this.
Cheers,
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
p
Description: Text document
|