Searched refs:ifindex (Results 1 - 2 of 2) sorted by relevance

/system/core/libnetutils/
H A Difc_utils.c254 int ifindex, s, len, ret; local
274 ifindex = if_nametoindex(name);
275 if (ifindex == 0) {
310 req.r.ifa_index = ifindex;
/system/netd/server/
H A DRouteController.cpp360 uint32_t ifindex; local
375 // If an interface was specified, find the ifindex.
377 ifindex = if_nametoindex(interface);
378 if (!ifindex) {
411 { &ifindex, interface != OIF_NONE ? sizeof(ifindex) : 0 },

Completed in 6 milliseconds