Lines Matching full:second
76 const auto& state = std::get<std::string>(it->second); in Manager()
176 if (info.intf.name && *info.intf.name != it->second->interfaceName()) in createInterface()
178 interfaces.erase(it->second->interfaceName()); in createInterface()
183 it->second->updateInfo(info.intf); in createInterface()
195 it->second.get()); in createInterface()
197 it->second->updateInfo(info.intf); in createInterface()
244 infoIt->second.intf = info; in addInterface()
254 createInterface(infoIt->second, it->second); in addInterface()
266 nit->second.get() != iit->second) in removeInterface()
277 if (nit->second.get() == iit->second) in removeInterface()
307 it->second.addrs.insert_or_assign(info.ifaddr, info); in addAddress()
311 it->second->addAddr(info); in addAddress()
325 it->second->addrs.erase(info.ifaddr); in removeAddress()
328 it->second.addrs.erase(info.ifaddr); in removeAddress()
341 it->second.staticNeighs.insert_or_assign(*info.addr, info); in addNeighbor()
345 it->second->addStaticNeigh(info); in addNeighbor()
363 it->second.staticNeighs.erase(*info.addr); in removeNeighbor()
367 it->second->staticNeighbors.erase(*info.addr); in removeNeighbor()
380 it->second.defgw4.emplace(addr); in addDefGw()
386 it->second.defgw6.emplace(addr); in addDefGw()
397 it->second->EthernetInterfaceIntf::defaultGateway( in addDefGw()
404 it->second->EthernetInterfaceIntf::defaultGateway6( in addDefGw()
425 if (it->second.defgw4 == addr) in removeDefGw()
427 it->second.defgw4.reset(); in removeDefGw()
434 if (it->second.defgw6 == addr) in removeDefGw()
436 it->second.defgw6.reset(); in removeDefGw()
450 if (it->second->defaultGateway() == tsh(addr)) in removeDefGw()
452 it->second->EthernetInterfaceIntf::defaultGateway( in removeDefGw()
462 if (it->second->defaultGateway6() == tsh(addr)) in removeDefGw()
464 it->second->EthernetInterfaceIntf::defaultGateway6( in removeDefGw()
491 return it->second->createVLAN(id); in vlan()
509 intf.second->writeConfigurationFile(); in writeToConfigurationFile()
525 createInterface(it->second, managed); in handleAdminState()
538 bool emitlldp = intf.second->emitLLDP(); in writeLLDPDConfigurationFile()
541 lldpdConfig << "configure ports " << intf.second->interfaceName() in writeLLDPDConfigurationFile()
546 lldpdConfig << "configure ports " << intf.second->interfaceName() in writeLLDPDConfigurationFile()