I've implemented *prototype* of getifaddr() for Linux 2.2 (or later) using PF_NETLINK socket (instead of RT_NET_IFLIST): <http://apps.v6.linux.or.jp/pub/Linux/glibc/getifaddrs-20000306.tgz>. We shou
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. IMHO simplest w
Hello, KAME people propose new function called getifaddrs(3). BSDI4 has it already to get local IPv6 addresses. I noticed that SIOCFIGCONF doesn't return IPv6 addresses and thinked of it. But I have
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. -- Hide
Function getting address list can be implemented via /proc/net/if_inet6. The question, how to call this function getifaddrs() or somewhat differently, does not make much of sense, because there is n
Hello, 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 us
KAME seems to have SIOC{AGD}LIFADDR and if_laddrreq{}. /* * Structure for SIOC[AGD]LIFADDR */ struct if_laddrreq { char iflr_name[IFNAMSIZ]; unsigned int flags; unsigned int prefixlen; /* in/out */
I've seeked the source code: It says the interfaces are deprecated, but, literally, KAME have them. -- Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxxxxx> Web Page: http://www.ecei.tohoku.ac.jp/%7Eyoshfuj
Hi, I've implemented *prototype* of getifaddr() for Linux 2.2 (or later) using PF_NETLINK socket (instead of RT_NET_IFLIST): <http://apps.v6.linux.or.jp/pub/Linux/glibc/getifaddrs-20000306.tgz>. We s
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. IMHO simplest w
Hello, KAME people propose new function called getifaddrs(3). BSDI4 has it already to get local IPv6 addresses. I noticed that SIOCFIGCONF doesn't return IPv6 addresses and thinked of it. But I have
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. -- Hide
Hello! Function getting address list can be implemented via /proc/net/if_inet6. The question, how to call this function getifaddrs() or somewhat differently, does not make much of sense, because ther