netdev
[Top] [All Lists]

Re: SIOCGIFCONF and IPv6 addresses

To: misiek@xxxxxxxxxx
Subject: Re: SIOCGIFCONF and IPv6 addresses
From: Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxxxxx>
Date: Tue, 22 Feb 2000 22:40:28 +0900
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20000222130839.A26768@admin.misiek.eu.org>
References: <20000222130839.A26768@admin.misiek.eu.org>
Sender: owner-netdev@xxxxxxxxxxx
In article <20000222130839.A26768@xxxxxxxxxxxxxxxxxxx> (at Tue, 22 Feb 2000 
13:08:39 +0100), Arkadiusz Miskiewicz <misiek@xxxxxxxxxx> says:

> Currently Linux SIOCGIFCONF doesn't return any IPv6 addresses
> because sockaddr filled with ipv6 addr doesnt fit ...
>
> Kame guys said that it doesn't matter if we correctly
> parse output.
:
> this won't break old applications because they are using AF_INET socket
> and will allow to get ipv6 adresses ...
> 
> ANK: what you think about this ?

It might be done AFTER sin6_scope_id goes into the kernel.
(Alexey, please, please take it into the kernel!)

Alternatively, we may standardize / deploy new function like 
getifaddrs() on BSDi.

-- 
Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxxxxx>
Web Page: http://www.ecei.tohoku.ac.jp/%7Eyoshfuji/
PGP5i FP: F731 6599 5EB2 BBA7 1515  1323 1806 A96F 5700 6B25 

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