netdev
[Top] [All Lists]

Re: SIOCGIFCONF and IPv6 addresses

To: kuznet@xxxxxxxxxxxxx
Subject: Re: SIOCGIFCONF and IPv6 addresses
From: Yuji Sekiya <sekiya@xxxxxxx>
Date: Tue, 22 Feb 2000 18:16:29 -0800
Cc: yoshfuji@xxxxxxxxxxxxxxxxx, misiek@xxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: In your message of "Tue, 22 Feb 2000 20:25:44 +0300 (MSK)" <200002221725.UAA23593@ms2.inr.ac.ru>
Organization: Information Sciences Institute
References: <20000222224028Z.yoshfuji@cerberus.nemoto.ecei.tohoku.ac.jp> <200002221725.UAA23593@ms2.inr.ac.ru>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Wanderlust/2.2.15 (More Than Words) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (sparc-sun-solaris2.7)
At Tue, 22 Feb 2000 20:25:44 +0300 (MSK),
kuznet@xxxxxxxxxxxxx wrote:

Hello,

> Low level ioctl() set is different question and it is not
> an important question at all. I think that overloading SIOCGIFCONF
> does not make much of sense in 4.3BSD framework, which Linux is.
> BTW do you know how does Solaris work?

I'm not an expert of Solaris, but AFAIK,
solaris always return the 16byte buffer by SIOCGIFCONF.
Using SIOCGLIFCONF, it returns long buffer than 16byte.
In order to get sockaddr_in6, we can use SIOCGLIFCONF.

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


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