Xuejun Cai <[EMAIL PROTECTED]> writes:

> My question is:
> How to get the ipv6 address in linux by ioctl(). I do know we can get the
> ipv6 address from /proc/net/if_inet6. But for compatiablity, i want to use
> ioctl() instead of /proc. But I can't find any document about how to
> programmin ipv6 in linux. 
There is no ioctl() for that on Linux. Check netdev mailing list
archives for more information ,,why''.

You can get ipv6 addresses using netlink(7). Check getifaddrs()
implementation by USAGI (www.linux-ipv6.org).

> Cai, Xuejun

-- 
Arkadiusz Miśkiewicz   IPv6 ready PLD Linux at http://www.pld.org.pl
misiek(at)pld.org.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PWr

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

Reply via email to