lkml.org 
[lkml]   [2001]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.103 / U:6.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site