Searched refs:defaultGateway6 (Results 1 – 5 of 5) sorted by relevance
194 EXPECT_THROW(interface.defaultGateway6("127.0.0.10"), InvalidArgument); in TEST_F()195 EXPECT_THROW(interface.defaultGateway6("0.0.0.0"), InvalidArgument); in TEST_F()196 EXPECT_THROW(interface.defaultGateway6("224.1.0.0"), InvalidArgument); in TEST_F()207 interface.defaultGateway6(gateway6); in TEST_F()208 EXPECT_EQ(interface.defaultGateway6(), gateway6); in TEST_F()209 EXPECT_THROW(interface.defaultGateway6("::1"), InvalidArgument); in TEST_F()210 EXPECT_EQ(interface.defaultGateway6(), gateway6); in TEST_F()211 interface.defaultGateway6(""); in TEST_F()212 EXPECT_EQ(interface.defaultGateway6(), ""); in TEST_F()213 interface.defaultGateway6("::"); in TEST_F()[all …]
224 std::string defaultGateway6(std::string gateway) override;237 using EthernetInterfaceIntf::defaultGateway6;
392 it->second->EthernetInterfaceIntf::defaultGateway6( in addDefGw()450 if (it->second->defaultGateway6() == tsh(addr)) in removeDefGw()452 it->second->EthernetInterfaceIntf::defaultGateway6( in removeDefGw()
117 EthernetInterface::defaultGateway6(stdplus::toStr(*info.defgw6), true); in EthernetInterface()827 auto gateway6 = EthernetInterfaceIntf::defaultGateway6(); in writeConfigurationFile()1009 std::string EthernetInterface::defaultGateway6(std::string gateway) in defaultGateway6() function in phosphor::network::EthernetInterface1012 if (gateway != defaultGateway6()) in defaultGateway6()1014 gateway = EthernetInterfaceIntf::defaultGateway6(std::move(gateway)); in defaultGateway6()
363 const std::string* defaultGateway6 = in extractEthernetInterfaceData() local365 if (defaultGateway6 != nullptr) in extractEthernetInterfaceData()368 *defaultGateway6; in extractEthernetInterfaceData()