Home
last modified time | relevance | path

Searched refs:ntpEnabled (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-networkd/src/
H A Ddhcp_configuration.cpp31 ConfigIntf::ntpEnabled(getDHCPProp(conf, type, "UseNTP"), true); in Configuration()
66 bool Configuration::ntpEnabled(bool value) in ntpEnabled() function in phosphor::network::dhcp::Configuration
68 if (value == ntpEnabled()) in ntpEnabled()
73 auto ntp = ConfigIntf::ntpEnabled(value); in ntpEnabled()
H A Ddhcp_configuration.hpp61 bool ntpEnabled(bool value) override;
86 using ConfigIntf::ntpEnabled;
H A Dethernet_interface.cpp801 dhcp4["UseNTP"].emplace_back(tfStr(dhcp4Conf->ntpEnabled())); in writeConfigurationFile()
810 dhcp6["UseNTP"].emplace_back(tfStr(dhcp6Conf->ntpEnabled())); in writeConfigurationFile()
/openbmc/bmcweb/redfish-core/lib/
H A Dnetwork_protocol.hpp258 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, bool ntpEnabled) in handleNTPProtocolEnabled() argument
267 ntpEnabled, interactive); in handleNTPProtocolEnabled()
488 std::optional<bool> ntpEnabled; in handleManagersNetworkProtocolPatch() local
497 "NTP/ProtocolEnabled", ntpEnabled, in handleManagersNetworkProtocolPatch()
512 if (ntpEnabled) in handleManagersNetworkProtocolPatch()
514 handleNTPProtocolEnabled(asyncResp, *ntpEnabled); in handleManagersNetworkProtocolPatch()
H A Dethernet.hpp426 const bool* ntpEnabled = in extractEthernetInterfaceData() local
428 if (ntpEnabled != nullptr) in extractEthernetInterfaceData()
430 ethData.ntpv4Enabled = *ntpEnabled; in extractEthernetInterfaceData()
476 const bool* ntpEnabled = in extractEthernetInterfaceData() local
478 if (ntpEnabled != nullptr) in extractEthernetInterfaceData()
480 ethData.ntpv6Enabled = *ntpEnabled; in extractEthernetInterfaceData()