Home
last modified time | relevance | path

Searched refs:if_index (Results 1 – 5 of 5) sorted by relevance

/bionic/tests/
Dnet_if_test.cpp43 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()
/bionic/libc/bionic/
Dnet_if.cpp93 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()
/bionic/libc/include/net/
Dif.h43 unsigned if_index; member
/bionic/tests/headers/posix/
Dnet_if_h.c35 STRUCT_MEMBER(struct if_nameindex, unsigned, if_index); in net_if_h()
/bionic/libc/kernel/uapi/linux/
Dnet_tstamp.h75 __u32 if_index; member