Searched refs:if_ni (Results 1 – 1 of 1) sorted by relevance
453 struct if_nameindex *if_ni, *i; in get_ifaceindex() local456 if_ni = if_nameindex(); in get_ifaceindex()457 if (!if_ni) perror_exit("if_nameindex"); in get_ifaceindex()459 for (i = if_ni; i->if_index && i->if_name; i++) in get_ifaceindex()464 if_freenameindex(if_ni); in get_ifaceindex()