Messages in this thread |  | | Subject | Re: ioctl SIOCGIFNETMASK: ip alias bug 2.4.9 and 2.2.19 | Date | Wed, 5 Sep 2001 17:23:26 -0400 (EDT) | From | (Wietse Venema) |
| |
On a more serious note, what portable primitives does Linux offer to look up all interface IP addresses and their corresponding netmasks?
The primitives used in Postfix work on all supported systems, except for Linux where they work partially.
Portability is a relative thing - it would be wonderful already if your primitive supports the past three years of kernel releases.
Wietse
Alan Cox: > > > the mask for the requested address. This doesn't matter as long as > > > eth0:0-style aliases are configured with ifconfig, but it does matter as > > > soon as ip comes into play and both addresses are assigned to eth0 > > > rather than eth0 and eth0:0. > > > > I think the silence you are hearing from the lkml is a bunch of people thinking > > "Oh, crap!". > > Actually its probably a bunch of people thinking "I wonder if someone else > forwarded this to netdev@oss.sgi.com" >
- 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/
|  |