Searched full:dhcpconf (Results 1 – 10 of 10) sorted by relevance
/openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/ |
H A D | hyp_ethernet_interface.cpp | 61 HypEthInterface::DHCPConf HypEthInterface::dhcpEnabled(DHCPConf value) in dhcpEnabled() 65 value == DHCPConf::v4 || value == DHCPConf::v4v6stateless || in dhcpEnabled() 66 value == DHCPConf::both); in dhcpEnabled() 69 value == DHCPConf::v6 || value == DHCPConf::both); in dhcpEnabled() 72 value == DHCPConf::v6stateless || value == DHCPConf::v4v6stateless || in dhcpEnabled() 73 value == DHCPConf::v6 || value == DHCPConf::both); in dhcpEnabled() 82 HypEthInterface::DHCPConf HypEthInterface::dhcpEnabled() const in dhcpEnabled() 86 return dhcp4() ? DHCPConf::both : DHCPConf::v6; in dhcpEnabled() 90 return ipv6AcceptRA() ? DHCPConf::v4v6stateless : DHCPConf::v4; in dhcpEnabled() 92 return ipv6AcceptRA() ? DHCPConf::v6stateless : DHCPConf::none; in dhcpEnabled()
|
H A D | hyp_ethernet_interface.hpp | 86 HypEthernetIntf::DHCPConf dhcpEnabled() const override; 87 HypEthernetIntf::DHCPConf dhcpEnabled(DHCPConf value) override;
|
/openbmc/phosphor-networkd/test/ |
H A D | test_ethernet_interface.cpp | 222 using DHCPConf = EthernetInterfaceIntf::DHCPConf; in TEST_F() typedef 223 auto test = [&](DHCPConf conf, bool dhcp4, bool dhcp6, bool ra) { in TEST_F() 229 test(DHCPConf::both, /*dhcp4=*/true, /*dhcp6=*/true, /*ra=*/true); in TEST_F() 231 auto set_test = [&](DHCPConf conf, bool dhcp4, bool dhcp6, bool ra) { in TEST_F() 235 set_test(DHCPConf::none, /*dhcp4=*/false, /*dhcp6=*/false, /*ra=*/false); in TEST_F() 236 set_test(DHCPConf::v4, /*dhcp4=*/true, /*dhcp6=*/false, /*ra=*/false); in TEST_F() 237 set_test(DHCPConf::v6stateless, /*dhcp4=*/false, /*dhcp6=*/false, in TEST_F() 239 set_test(DHCPConf::v6, /*dhcp4=*/false, /*dhcp6=*/true, /*ra=*/true); in TEST_F() 240 set_test(DHCPConf::v4v6stateless, /*dhcp4=*/true, /*dhcp6=*/false, in TEST_F() 242 set_test(DHCPConf::both, /*dhcp4=*/true, /*dhcp6=*/true, /*ra=*/true); in TEST_F() [all …]
|
/openbmc/phosphor-networkd/src/ |
H A D | ethernet_interface.cpp | 470 EthernetInterface::DHCPConf EthernetInterface::dhcpEnabled(DHCPConf value) in dhcpEnabled() 474 value == DHCPConf::v4 || value == DHCPConf::v4v6stateless || in dhcpEnabled() 475 value == DHCPConf::both); in dhcpEnabled() 478 value == DHCPConf::v6 || value == DHCPConf::both); in dhcpEnabled() 481 value == DHCPConf::v6stateless || value == DHCPConf::v4v6stateless || in dhcpEnabled() 482 value == DHCPConf::v6 || value == DHCPConf::both); in dhcpEnabled() 492 EthernetInterface::DHCPConf EthernetInterface::dhcpEnabled() const in dhcpEnabled() 496 return dhcp4() ? DHCPConf::both : DHCPConf::v6; in dhcpEnabled() 500 return ipv6AcceptRA() ? DHCPConf::v4v6stateless : DHCPConf::v4; in dhcpEnabled() 502 return ipv6AcceptRA() ? DHCPConf::v6stateless : DHCPConf::none; in dhcpEnabled()
|
H A D | network_manager.hpp | 98 return *dhcpConf; in getDHCPConf() 149 std::unique_ptr<dhcp::Configuration> dhcpConf = nullptr; member in phosphor::network::Manager
|
H A D | ethernet_interface.hpp | 146 DHCPConf dhcpEnabled() const override; 147 DHCPConf dhcpEnabled(DHCPConf value) override;
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/ |
H A D | HypervisorInterface-default-p10bmc.override.yml | 18 Default: EthernetInterface::DHCPConf::none 51 Default: EthernetInterface::DHCPConf::none
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Network/ |
H A D | EthernetInterface.interface.yaml | 36 type: enum[self.DHCPConf] 133 - name: DHCPConf
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | ethernet.hpp | 167 "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.v4") || in translateDhcpEnabledToBool() 169 "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.both") || in translateDhcpEnabledToBool() 171 "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.v4v6stateless")); in translateDhcpEnabledToBool() 174 "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.v6") || in translateDhcpEnabledToBool() 176 "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.both")); in translateDhcpEnabledToBool() 183 return "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.both"; in getDhcpEnabledEnumeration() 187 return "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.v4"; in getDhcpEnabledEnumeration() 191 return "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.v6"; in getDhcpEnabledEnumeration() 193 return "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.none"; in getDhcpEnabledEnumeration()
|
/openbmc/phosphor-host-ipmid/ |
H A D | dcmihandler.cpp | 516 std::optional<EthernetInterface::DHCPConf> getDHCPEnabled( in getDHCPEnabled() 1217 std::optional<EthernetInterface::DHCPConf> dhcpEnabled = in setDCMIConfParams() 1224 (dhcpEnabled.value() != EthernetInterface::DHCPConf::none)) in setDCMIConfParams()
|