Home
last modified time | relevance | path

Searched refs:DHCPConf (Results 1 – 10 of 10) sorted by relevance

/openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/
H A Dhyp_ethernet_interface.cpp61 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 Dhyp_ethernet_interface.hpp86 HypEthernetIntf::DHCPConf dhcpEnabled() const override;
87 HypEthernetIntf::DHCPConf dhcpEnabled(DHCPConf value) override;
/openbmc/phosphor-networkd/test/
H A Dtest_ethernet_interface.cpp222 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()
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()
244 auto ind_test = [&](DHCPConf conf, bool dhcp4, bool dhcp6, bool ra) { in TEST_F()
252 ind_test(DHCPConf::v6stateless, /*dhcp4=*/false, /*dhcp6=*/false, in TEST_F()
255 set_test(DHCPConf::v6, /*dhcp4=*/false, /*dhcp6=*/true, /*ra=*/true); in TEST_F()
[all …]
/openbmc/phosphor-networkd/src/
H A Dethernet_interface.cpp456 EthernetInterface::DHCPConf EthernetInterface::dhcpEnabled(DHCPConf value) in dhcpEnabled()
460 value == DHCPConf::v4 || value == DHCPConf::v4v6stateless || in dhcpEnabled()
461 value == DHCPConf::both); in dhcpEnabled()
464 value == DHCPConf::v6 || value == DHCPConf::both); in dhcpEnabled()
467 value == DHCPConf::v6stateless || value == DHCPConf::v4v6stateless || in dhcpEnabled()
468 value == DHCPConf::v6 || value == DHCPConf::both); in dhcpEnabled()
478 EthernetInterface::DHCPConf EthernetInterface::dhcpEnabled() const in dhcpEnabled()
482 return dhcp4() ? DHCPConf::both : DHCPConf::v6; in dhcpEnabled()
486 return ipv6AcceptRA() ? DHCPConf::v4v6stateless : DHCPConf::v4; in dhcpEnabled()
488 return ipv6AcceptRA() ? DHCPConf::v6stateless : DHCPConf::none; in dhcpEnabled()
H A Dethernet_interface.hpp146 DHCPConf dhcpEnabled() const override;
147 DHCPConf dhcpEnabled(DHCPConf value) override;
/openbmc/openbmc/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/
H A DHypervisorInterface-default-p10bmc.override.yml18 Default: EthernetInterface::DHCPConf::none
51 Default: EthernetInterface::DHCPConf::none
H A DHypervisorInterface-default-tacoma.override.yml18 Default: EthernetInterface::DHCPConf::none
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Network/
H A DEthernetInterface.interface.yaml36 type: enum[self.DHCPConf]
131 - name: DHCPConf
/openbmc/google-misc/subprojects/ncsid/src/
H A Dncsid_lib.sh483 s xyz.openbmc_project.Network.EthernetInterface.DHCPConf.none
/openbmc/phosphor-host-ipmid/
H A Ddcmihandler.cpp265 std::optional<EthernetInterface::DHCPConf>
891 std::optional<EthernetInterface::DHCPConf> dhcpEnabled = in setDCMIConfParams()
898 (dhcpEnabled.value() != EthernetInterface::DHCPConf::none)) in setDCMIConfParams()