Searched refs:if_index (Results 1 – 5 of 5) sorted by relevance
43 ASSERT_TRUE(list->if_index != 0); in TEST()48 for (struct if_nameindex* it = list; it->if_index != 0; ++it) { in TEST()49 fprintf(stderr, "\t%d\t%s\n", it->if_index, it->if_name); in TEST()51 EXPECT_EQ(it->if_index, if_nametoindex(it->if_name)); in TEST()52 EXPECT_STREQ(it->if_name, if_indextoname(it->if_index, buf)); in TEST()
93 new_link->data.if_index = ifi->ifi_index; in __if_nameindex_callback()129 out->if_index = it->data.if_index; in if_nameindex()133 out->if_index = 0; in if_nameindex()147 while (ptr->if_index != 0 || ptr->if_name != nullptr) { in if_freenameindex()
43 unsigned if_index; member
35 STRUCT_MEMBER(struct if_nameindex, unsigned, if_index); in net_if_h()
75 __u32 if_index; member