netdev
[Top] [All Lists]

Re: SIOCGIFCONF and IPv6 addresses

To: Yuji Sekiya <sekiya@xxxxxxx>
Subject: Re: SIOCGIFCONF and IPv6 addresses
From: Andi Kleen <ak@xxxxxx>
Date: Tue, 22 Feb 2000 14:37:11 +0100
Cc: misiek@xxxxxxxxxx, kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <st2d7pp75wm.wl@kanako.v6.linux.or.jp>; from Yuji Sekiya on Tue, Feb 22, 2000 at 01:59:07PM +0100
References: <20000222130839.A26768@admin.misiek.eu.org> <st2d7pp75wm.wl@kanako.v6.linux.or.jp>
Sender: owner-netdev@xxxxxxxxxxx
On Tue, Feb 22, 2000 at 01:59:07PM +0100, Yuji Sekiya wrote:
> >>>>> In <20000222130839.A26768@xxxxxxxxxxxxxxxxxxx> 
> >>>>> Arkadiusz Miskiewicz <misiek@xxxxxxxxxx> wrote:
> 
> Hello,
> 
> > IMHO simplest way for Linux to allow getting ipv6 addresses
> > via this ioctl but don't break old application is:
> > ioctl(AF_INET6 socket, ...) - return IPv6 addresses only or
> >                          both IPv4 and IPv6 addresses.
> > ioctl(AF_INET socket, ...) - return only ipv4 addresses (this
> >                          same result as when using current
> >                          Linux kernel)
> 
> KAME people propose new function called getifaddrs(3).
> BSDI4 has it already to get local IPv6 addresses.
> 
> I noticed that SIOCFIGCONF doesn't return IPv6 addresses and
> thinked of it. But I have no idea.

getifaddrs() could be implemented in user space using rtnetlink. 


-Andi

<Prev in Thread] Current Thread [Next in Thread>