>It seems to me that net/ipv4/devinet.c:devinet_init doesn't >regist any IPv6 addresses into gifconf_list... No, it doesn't (and it shouldn't). If you want to return IPv6 addresses from SIOCGIFCONF you should register a new gifconf function from net/ipv6/ somewhere. p.