Lines Matching refs:list
70 explicit if_list(if_list** list) { in if_list()
72 next = *list; in if_list()
73 *list = this; in if_list()
76 static void Free(if_list* list, bool names_too) { in Free()
77 while (list) { in Free()
78 if_list* it = list; in Free()
79 list = it->next; in Free()
87 if_list** list = reinterpret_cast<if_list**>(context); in __if_nameindex_callback() local
92 if_list* new_link = new if_list(list); in __if_nameindex_callback()
108 if_list* list = nullptr; in if_nameindex() local
112 bool okay = nc.SendRequest(RTM_GETLINK) && nc.ReadResponses(__if_nameindex_callback, &list); in if_nameindex()
114 if_list::Free(list, true); in if_nameindex()
120 for (if_list* it = list; it != nullptr; it = it->next) { in if_nameindex()
128 for (if_list* it = list; it != nullptr; it = it->next) { in if_nameindex()
138 if_list::Free(list, false); in if_nameindex()