netdev
[Top] [All Lists]

Re: SIOCGIFCONF and IPv6 addresses

To: misiek@xxxxxxxxxx, kuznet@xxxxxxxxxxxxx
Subject: Re: SIOCGIFCONF and IPv6 addresses
From: Yuji Sekiya <sekiya@xxxxxxx>
Date: Tue, 22 Feb 2000 21:55:53 +0900
Cc: netdev@xxxxxxxxxxx
In-reply-to: In your message of "Tue, 22 Feb 2000 13:08:39 +0100" <20000222130839.A26768@admin.misiek.eu.org>
Organization: Information Sciences Institute
References: <20000222130839.A26768@admin.misiek.eu.org>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Wanderlust/2.2.18 (Please Forgive Me) EMIKO/1.13.11 (Euglena viridis) CLIME/1.13.6 (中ノ庄) MULE XEmacs/21.2 (beta19) (Shinjuku) (i586-pc-linux)
>>>>> 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.

What do you think about it, Alexey ?

---
SEKIYA Yuji     USC/ISI  Computer Networks Division 7
<sekiya@xxxxxxx / sekiya@xxxxxxxxxxxxxx / sekiya@xxxxxxxxxxxxxx>



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