Re: ioctl SIOCGIFNETMASK: ip alias bug 2.4.9 and 2.2.19

Wietse Venema (wietse@porcupine.org)
Thu, 6 Sep 2001 14:51:24 -0400 (EDT)


Andi Kleen:
> [Sending a similar mail for the third time now; you conveniently chosed
> to ignore all earlier ones of me in the discussion. I will not send another
> one, but just quietly think "Wietse is a moron" before forgetting the issue]

Oh, come on. I was asking for more than RTFM.

> On Wed, Sep 05, 2001 at 05:23:26PM -0400, Wietse Venema wrote:
> > On a more serious note, what portable primitives does Linux offer
> > to look up all interface IP addresses and their corresponding
> > netmasks?
>
> man rtnetlink 7

It's not portable as you may believe.

[root@redhat52 /root]# man rtnetlink
No manual entry for rtnetlink

This was released only three years ago.

But it does not matter. The code needs to be written anyway.

Do you have more to share than RFTM? Pointers to code?

Wietse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/