Searched refs:if_ni (Results 1 – 1 of 1) sorted by relevance
504 struct if_nameindex *if_ni, *i; in get_ifaceindex() local507 if_ni = if_nameindex(); in get_ifaceindex()508 if (!if_ni) perror_exit("if_nameindex"); in get_ifaceindex()510 for (i = if_ni; i->if_index && i->if_name; i++) in get_ifaceindex()515 if_freenameindex(if_ni); in get_ifaceindex()