Jinmei

Tru64 doesn't store prefix info in the kernel so there is
really no way to get that info out of the it.

The addresses configured on the interfaces are assumed to
have static prefix lengths: loopback is /128, link-local is /10,
and anything else is /64.

The routing function is separate and that let's us get away
with the above.

-vlad

JINMEI Tatuya / ???? wrote:
Hello,

I'm writing an IPv6 application that needs to know local IPv6
addresses and their prefix lengths (or "netmasks" in the IPv4
terminology).

Most systems have some API knobs for this, though they are not
necessarily portable, but I could not find such a knob for Compaq
Tru64.  It's possible to get local "addresses" by the SIOCGIFCONF
ioctl, but there seems to be no way to know the prefix length of each
IPv6 address.

Does anyone in this list know a clue on this?

Thanks,

                                        JINMEI, Tatuya
                                        Communication Platform Lab.
                                        Corporate R&D Center, Toshiba Corp.
                                        [EMAIL PROTECTED]
---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]



-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Vladislav Yasevich Linux and Open Source Lab Hewlett Packard Tel: (603) 884-1079 Nashua, NH 03062 ZKO3-3/T07


--------------------------------------------------------------------- The IPv6 Users Mailing List Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to