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.cpp29 ConfigIntf::ntpEnabled(getDHCPProp(conf, type, "UseNTP"), true); in Configuration()
64 bool Configuration::ntpEnabled(bool value) in ntpEnabled() function in phosphor::network::dhcp::Configuration
66 if (value == ntpEnabled()) in ntpEnabled()
71 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.cpp853 dhcp4["UseNTP"].emplace_back(tfStr(dhcp4Conf->ntpEnabled())); in writeConfigurationFile()
862 dhcp6["UseNTP"].emplace_back(tfStr(dhcp6Conf->ntpEnabled())); in writeConfigurationFile()
/openbmc/bmcweb/redfish-core/lib/
H A Dnetwork_protocol.hpp264 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, bool ntpEnabled) in handleNTPProtocolEnabled() argument
273 ntpEnabled, interactive); in handleNTPProtocolEnabled()
494 std::optional<bool> ntpEnabled; in handleManagersNetworkProtocolPatch() local
502 "NTP/ProtocolEnabled", ntpEnabled, // in handleManagersNetworkProtocolPatch()
517 if (ntpEnabled) in handleManagersNetworkProtocolPatch()
519 handleNTPProtocolEnabled(asyncResp, *ntpEnabled); in handleManagersNetworkProtocolPatch()
H A Dethernet.hpp417 const bool* ntpEnabled = in extractEthernetInterfaceData() local
419 if (ntpEnabled != nullptr) in extractEthernetInterfaceData()
421 ethData.ntpv4Enabled = *ntpEnabled; in extractEthernetInterfaceData()
467 const bool* ntpEnabled = in extractEthernetInterfaceData() local
469 if (ntpEnabled != nullptr) in extractEthernetInterfaceData()
471 ethData.ntpv6Enabled = *ntpEnabled; in extractEthernetInterfaceData()