Home | History | Annotate | Download | only in server

Lines Matching full:ifindex

505     int ifIndex = RouteController::getIfIndex(interface);
506 if (ifIndex) {
507 mIfindexToLastNetId[ifIndex] = netId;
610 void NetworkController::addInterfaceAddress(unsigned ifIndex, const char* address) {
613 if (ifIndex == 0) {
614 ALOGE("Attempting to add address %s without ifindex", address);
617 mAddressToIfindices[address].insert(ifIndex);
621 bool NetworkController::removeInterfaceAddress(unsigned ifindex, const char* address) {
626 ALOGE("Removing unknown address %s from ifindex %u", address, ifindex);
630 if (ifindices.erase(ifindex) > 0) {
635 ALOGE("No record of address %s on interface %u", address, ifindex);
639 if (mIfindexToLastNetId.find(ifindex) == mIfindexToLastNetId.end()) {
640 ALOGE("Interface index %u was never in a currently-connected netId", ifindex);
643 unsigned lastNetId = mIfindexToLastNetId[ifindex];
709 dw.println("Ifindex: %u NetId: %u", i.first, i.second);