Hi guys, I want to do a ioctl on a AF_INET6 socket. I am trying to populate struct in6_ifreq with the information from sockaddr I got from getifaddrs(..) Pardon my ignorance, but how can I get in6_addr and ifr6_ifindex from sockaddr?? Do I need to use inet6_aftype.input, get_socket_for_af, and ioctl(..SIOCGIFINDEX..) ?? Cheers, Jon. - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/