Lines Matching refs:InterfaceConfiguration
41 std::map<std::string, sptr<InterfaceConfiguration>> &devCfgs);
42 bool ReadUserConfiguration(std::map<std::string, sptr<InterfaceConfiguration>> &devCfgs);
43 bool WriteUserConfiguration(const std::string &iface, sptr<InterfaceConfiguration> &cfg);
46 sptr<InterfaceConfiguration> MakeInterfaceConfiguration(const sptr<InterfaceConfiguration> &devCfg,
51 void ParseBootProto(const std::string &fileContent, sptr<InterfaceConfiguration> cfg);
52 void ParseStaticConfig(const std::string &fileContent, sptr<InterfaceConfiguration> cfg);
55 std::map<std::string, sptr<InterfaceConfiguration>> &devCfgs,
58 sptr<InterfaceConfiguration> ConvertJsonToConfiguration(const cJSON* const jsonData, bool isLan);
65 void ParserFileConfig(const std::string &fileContent, std::string &iface, sptr<InterfaceConfiguration> cfg);
66 void ParserFileHttpProxy(const std::string &fileContent, const sptr<InterfaceConfiguration> &cfg);
67 void ParserIfaceIpAndRoute(sptr<InterfaceConfiguration> &cfg, const std::string &rootNetMask);
68 void GenCfgContent(const std::string &iface, sptr<InterfaceConfiguration> cfg, std::string &fileContent);
69 void GenHttpProxyContent(const sptr<InterfaceConfiguration> &cfg, std::string &fileContent);