Searched refs:dhcpConfig (Results 1 - 1 of 1) sorted by relevance
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_config.cpp | 33 static int SetEnableConfigInfo(DhcpConfig *dhcpConfig, const char *pKey, const char *pValue) in SetEnableConfigInfo() argument 35 if ((dhcpConfig == nullptr) || (pKey == nullptr) || (pValue == nullptr)) { in SetEnableConfigInfo() 36 DHCP_LOGE("SetEnableConfigInfo param dhcpConfig or pKey or pValue is nullptr!"); in SetEnableConfigInfo() 47 dhcpConfig->distribution = uValue; in SetEnableConfigInfo() 49 dhcpConfig->broadcast = uValue; in SetEnableConfigInfo() 54 static int SetTimeConfigInfo(DhcpConfig *dhcpConfig, const char *pKey, const char *pValue) in SetTimeConfigInfo() argument 56 if ((dhcpConfig == nullptr) || (pKey == nullptr) || (pValue == nullptr)) { in SetTimeConfigInfo() 57 DHCP_LOGE("SetTimeConfigInfo param dhcpConfig or pKey or pValue is nullptr!"); in SetTimeConfigInfo() 68 dhcpConfig->leaseTime = uValue; in SetTimeConfigInfo() 70 dhcpConfig in SetTimeConfigInfo() 77 SetNetConfigInfo(DhcpConfig *dhcpConfig, const char *pKey, const char *pValue, int common) SetNetConfigInfo() argument 100 SetIpAddressPool(DhcpConfig *dhcpConfig, const char *pValue) SetIpAddressPool() argument 130 SetDnsInfo(DhcpConfig *dhcpConfig, const char *pValue) SetDnsInfo() argument 165 SetIfnameInfo(DhcpConfig *dhcpConfig, const char *pValue) SetIfnameInfo() argument 182 SetDhcpConfig(DhcpConfig *dhcpConfig, const char *strLine, int common) SetDhcpConfig() argument 216 ParseConfigFile(const char *configFile, const char *ifname, DhcpConfig *dhcpConfig) ParseConfigFile() argument [all...] |
Completed in 1 milliseconds