Messages in this thread |  | | | Date | Fri, 7 Sep 2001 13:04:38 +0200 | | From | Matthias Andree <> | | Subject | Re: notion of a local address [was: Re: ioctl SIOCGIFNETMASK: ip alias bug 2.4.9 and 2.2.19] |
| |
On Fri, 07 Sep 2001, Mike Jagdis wrote:
> If I understand correctly you want to get a full list of addresses > and netmasks that have been assigned to interfaces? > > Use netlink. I'm sure someone else has said that but I haven't > read the entire thread, just scanned for the almost certainly > required example attachment (netlink is only straight forward once > you have an example :-( ). Attached is something that simply > asks for the current addresses (and "aliases"). It should be fairly > easy to use.
Whoa. 215 lines for just getting addresses.
No personal offense, but what do people think this is if not bloat? - 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/
|  |