ioctl for SIOCGIFADDR accept AF_INET only, rewrite func getIfaceI6 on getifaddrs usage