Searched refs:DHCPConf (Results 1 – 6 of 6) 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 | 523 EthernetInterface::DHCPConf EthernetInterface::dhcpEnabled(DHCPConf value) in dhcpEnabled() 527 value == DHCPConf::v4 || value == DHCPConf::v4v6stateless || in dhcpEnabled() 528 value == DHCPConf::both); in dhcpEnabled() 531 value == DHCPConf::v6 || value == DHCPConf::both); in dhcpEnabled() 534 value == DHCPConf::v6stateless || value == DHCPConf::v4v6stateless || in dhcpEnabled() 535 value == DHCPConf::v6 || value == DHCPConf::both); in dhcpEnabled() 545 EthernetInterface::DHCPConf EthernetInterface::dhcpEnabled() const in dhcpEnabled() 549 return dhcp4() ? DHCPConf::both : DHCPConf::v6; in dhcpEnabled() 553 return ipv6AcceptRA() ? DHCPConf::v4v6stateless : DHCPConf::v4; in dhcpEnabled() 555 return ipv6AcceptRA() ? DHCPConf::v6stateless : DHCPConf::none; in dhcpEnabled()
|
| H A D | ethernet_interface.hpp | 146 DHCPConf dhcpEnabled() const override; 147 DHCPConf dhcpEnabled(DHCPConf value) override;
|
| /openbmc/phosphor-host-ipmid/ |
| H A D | dcmihandler.cpp | 517 std::optional<EthernetInterface::DHCPConf> getDHCPEnabled( in getDHCPEnabled() 1219 std::optional<EthernetInterface::DHCPConf> dhcpEnabled = in setDCMIConfParams() 1226 (dhcpEnabled.value() != EthernetInterface::DHCPConf::none)) in setDCMIConfParams()
|