move to POSIX if_nametoindex for checking interface existence