Lines Matching refs:second
69 const auto& state = std::get<std::string>(it->second); in Manager()
169 if (info.intf.name && *info.intf.name != it->second->interfaceName()) in createInterface()
171 interfaces.erase(it->second->interfaceName()); in createInterface()
176 it->second->updateInfo(info.intf); in createInterface()
185 it->second->updateInfo(info.intf); in createInterface()
232 infoIt->second.intf = info; in addInterface()
242 createInterface(infoIt->second, it->second); in addInterface()
254 nit->second.get() != iit->second) in removeInterface()
265 if (nit->second.get() == iit->second) in removeInterface()
295 it->second.addrs.insert_or_assign(info.ifaddr, info); in addAddress()
299 it->second->addAddr(info); in addAddress()
313 it->second->addrs.erase(info.ifaddr); in removeAddress()
316 it->second.addrs.erase(info.ifaddr); in removeAddress()
329 it->second.staticNeighs.insert_or_assign(*info.addr, info); in addNeighbor()
333 it->second->addStaticNeigh(info); in addNeighbor()
351 it->second.staticNeighs.erase(*info.addr); in removeNeighbor()
355 it->second->staticNeighbors.erase(*info.addr); in removeNeighbor()
368 it->second.defgw4.emplace(addr); in addDefGw()
374 it->second.defgw6.emplace(addr); in addDefGw()
385 it->second->EthernetInterfaceIntf::defaultGateway( in addDefGw()
392 it->second->EthernetInterfaceIntf::defaultGateway6( in addDefGw()
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()
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()
479 return it->second->createVLAN(id); in vlan()
497 intf.second->writeConfigurationFile(); in writeToConfigurationFile()
513 createInterface(it->second, managed); in handleAdminState()