Lines Matching full:it
64 auto it = values.find("AdministrativeState"); in Manager() local
65 if (it == values.end()) in Manager()
77 const auto& state = std::get<std::string>(it->second); in Manager()
178 if (auto it = interfacesByIdx.find(info.intf.idx); in createInterface() local
179 it != interfacesByIdx.end()) in createInterface()
181 if (info.intf.name && *info.intf.name != it->second->interfaceName()) in createInterface()
183 interfaces.erase(it->second->interfaceName()); in createInterface()
184 interfacesByIdx.erase(it); in createInterface()
188 it->second->updateInfo(info.intf); in createInterface()
194 auto it = interfaces.find(*info.intf.name); in createInterface() local
195 if (it != interfaces.end()) in createInterface()
200 it->second.get()); in createInterface()
202 it->second->updateInfo(info.intf); in createInterface()
256 if (auto it = systemdNetworkdEnabled.find(info.idx); in addInterface() local
257 it != systemdNetworkdEnabled.end()) in addInterface()
259 createInterface(infoIt->second, it->second); in addInterface()
310 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in addAddress() local
312 it->second.addrs.insert_or_assign(info.ifaddr, info); in addAddress()
313 if (auto it = interfacesByIdx.find(info.ifidx); in addAddress() local
314 it != interfacesByIdx.end()) in addAddress()
316 it->second->addAddr(info); in addAddress()
328 if (auto it = interfacesByIdx.find(info.ifidx); it != interfacesByIdx.end()) in removeAddress() local
330 it->second->addrs.erase(info.ifaddr); in removeAddress()
331 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in removeAddress() local
333 it->second.addrs.erase(info.ifaddr); in removeAddress()
344 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in addNeighbor() local
346 it->second.staticNeighs.insert_or_assign(*info.addr, info); in addNeighbor()
347 if (auto it = interfacesByIdx.find(info.ifidx); in addNeighbor() local
348 it != interfacesByIdx.end()) in addNeighbor()
350 it->second->addStaticNeigh(info); in addNeighbor()
366 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in removeNeighbor() local
368 it->second.staticNeighs.erase(*info.addr); in removeNeighbor()
369 if (auto it = interfacesByIdx.find(info.ifidx); in removeNeighbor() local
370 it != interfacesByIdx.end()) in removeNeighbor()
372 it->second->staticNeighbors.erase(*info.addr); in removeNeighbor()
379 if (auto it = intfInfo.find(ifidx); it != intfInfo.end()) in addDefGw() local
385 it->second.defgw4.emplace(addr); in addDefGw()
391 it->second.defgw6.emplace(addr); in addDefGw()
395 if (auto it = interfacesByIdx.find(ifidx); it != interfacesByIdx.end()) in addDefGw() local
402 it->second->EthernetInterfaceIntf::defaultGateway( in addDefGw()
409 it->second->EthernetInterfaceIntf::defaultGateway6( in addDefGw()
424 if (auto it = intfInfo.find(ifidx); it != intfInfo.end()) in removeDefGw() local
430 if (it->second.defgw4 == addr) in removeDefGw()
432 it->second.defgw4.reset(); in removeDefGw()
439 if (it->second.defgw6 == addr) in removeDefGw()
441 it->second.defgw6.reset(); in removeDefGw()
446 if (auto it = interfacesByIdx.find(ifidx); it != interfacesByIdx.end()) in removeDefGw() local
455 if (it->second->defaultGateway() == tsh(addr)) in removeDefGw()
457 it->second->EthernetInterfaceIntf::defaultGateway( in removeDefGw()
467 if (it->second->defaultGateway6() == tsh(addr)) in removeDefGw()
469 it->second->EthernetInterfaceIntf::defaultGateway6( in removeDefGw()
489 auto it = interfaces.find(interfaceName); in vlan() local
490 if (it == interfaces.end()) in vlan()
496 return it->second->createVLAN(id); in vlan()
528 if (auto it = intfInfo.find(ifidx); it != intfInfo.end()) in handleAdminState() local
530 createInterface(it->second, managed); in handleAdminState()