Lines Matching full:it
56 auto it = values.find("AdministrativeState"); in Manager() local
57 if (it == values.end()) in Manager()
69 const auto& state = std::get<std::string>(it->second); in Manager()
166 if (auto it = interfacesByIdx.find(info.intf.idx); in createInterface() local
167 it != interfacesByIdx.end()) in createInterface()
169 if (info.intf.name && *info.intf.name != it->second->interfaceName()) in createInterface()
171 interfaces.erase(it->second->interfaceName()); in createInterface()
172 interfacesByIdx.erase(it); in createInterface()
176 it->second->updateInfo(info.intf); in createInterface()
182 auto it = interfaces.find(*info.intf.name); in createInterface() local
183 if (it != interfaces.end()) in createInterface()
185 it->second->updateInfo(info.intf); in createInterface()
239 if (auto it = systemdNetworkdEnabled.find(info.idx); in addInterface() local
240 it != systemdNetworkdEnabled.end()) in addInterface()
242 createInterface(infoIt->second, it->second); in addInterface()
293 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in addAddress() local
295 it->second.addrs.insert_or_assign(info.ifaddr, info); in addAddress()
296 if (auto it = interfacesByIdx.find(info.ifidx); in addAddress() local
297 it != interfacesByIdx.end()) in addAddress()
299 it->second->addAddr(info); in addAddress()
311 if (auto it = interfacesByIdx.find(info.ifidx); it != interfacesByIdx.end()) in removeAddress() local
313 it->second->addrs.erase(info.ifaddr); in removeAddress()
314 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in removeAddress() local
316 it->second.addrs.erase(info.ifaddr); in removeAddress()
327 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in addNeighbor() local
329 it->second.staticNeighs.insert_or_assign(*info.addr, info); in addNeighbor()
330 if (auto it = interfacesByIdx.find(info.ifidx); in addNeighbor() local
331 it != interfacesByIdx.end()) in addNeighbor()
333 it->second->addStaticNeigh(info); in addNeighbor()
349 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in removeNeighbor() local
351 it->second.staticNeighs.erase(*info.addr); in removeNeighbor()
352 if (auto it = interfacesByIdx.find(info.ifidx); in removeNeighbor() local
353 it != interfacesByIdx.end()) in removeNeighbor()
355 it->second->staticNeighbors.erase(*info.addr); in removeNeighbor()
362 if (auto it = intfInfo.find(ifidx); it != intfInfo.end()) in addDefGw() local
368 it->second.defgw4.emplace(addr); in addDefGw()
374 it->second.defgw6.emplace(addr); in addDefGw()
378 if (auto it = interfacesByIdx.find(ifidx); it != interfacesByIdx.end()) in addDefGw() local
385 it->second->EthernetInterfaceIntf::defaultGateway( in addDefGw()
392 it->second->EthernetInterfaceIntf::defaultGateway6( in addDefGw()
407 if (auto it = intfInfo.find(ifidx); it != intfInfo.end()) in removeDefGw() local
413 if (it->second.defgw4 == addr) in removeDefGw()
415 it->second.defgw4.reset(); in removeDefGw()
422 if (it->second.defgw6 == addr) in removeDefGw()
424 it->second.defgw6.reset(); in removeDefGw()
429 if (auto it = interfacesByIdx.find(ifidx); it != interfacesByIdx.end()) in removeDefGw() local
438 if (it->second->defaultGateway() == tsh(addr)) in removeDefGw()
440 it->second->EthernetInterfaceIntf::defaultGateway( in removeDefGw()
450 if (it->second->defaultGateway6() == tsh(addr)) in removeDefGw()
452 it->second->EthernetInterfaceIntf::defaultGateway6( in removeDefGw()
472 auto it = interfaces.find(interfaceName); in vlan() local
473 if (it == interfaces.end()) in vlan()
479 return it->second->createVLAN(id); in vlan()
511 if (auto it = intfInfo.find(ifidx); it != intfInfo.end()) in handleAdminState() local
513 createInterface(it->second, managed); in handleAdminState()