#include #include #include int main() { char name[IF_NAMESIZE]; assert(name == if_indextoname(1, name)); printf("test: name '%s'\n", name); assert(1 == if_nametoindex(name)); }