Home
last modified time | relevance | path

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

/device/generic/goldfish/radio/ril/
Dif_monitor.cpp328 std::vector<ifAddress>& ifAddrs = mAddresses[msg->ifa_index]; in handleAddressChange() local
353 auto it = std::find(ifAddrs.begin(), ifAddrs.end(), addr); in handleAddressChange()
354 if (hdr->nlmsg_type == RTM_NEWADDR && it == ifAddrs.end()) { in handleAddressChange()
356 ifAddrs.push_back(addr); in handleAddressChange()
358 } else if (hdr->nlmsg_type == RTM_DELADDR && it != ifAddrs.end()) { in handleAddressChange()
360 ifAddrs.erase(it); in handleAddressChange()
367 ifAddrs.data(), in handleAddressChange()
368 ifAddrs.size()); in handleAddressChange()