Lines Matching refs:DhcpFunction
31 DEFINE_DHCPLOG_DHCP_LABEL("DhcpFunction");
36 bool DhcpFunction::Ip4StrConToInt(const std::string& strIp, uint32_t& uIp, bool bHost)
64 std::string DhcpFunction::Ip4IntConvertToStr(uint32_t uIp, bool bHost)
85 bool DhcpFunction::Ip6StrConToChar(const std::string& strIp, uint8_t chIp[], size_t uSize)
114 std::string DhcpFunction::Ip6CharConToStr(uint8_t chIp[], int size)
137 bool DhcpFunction::CheckIpStr(const std::string& strIp)
176 int DhcpFunction::GetLocalIp(const std::string strInf, std::string& strIp, std::string& strMask)
228 int DhcpFunction::GetLocalMac(const std::string ethInf, std::string& ethMac)
271 int DhcpFunction::CheckRangeNetwork(const std::string strInf, const std::string strBegin, const std::string strEnd)
302 bool DhcpFunction::CheckSameNetwork(const uint32_t srcIp, const uint32_t dstIp, const uint32_t maskIp)
309 bool DhcpFunction::IsExistFile(const std::string& filename)
323 bool DhcpFunction::CreateFile(const std::string& filename, const std::string& filedata)
333 bool DhcpFunction::RemoveFile(const std::string& filename)
343 bool DhcpFunction::AddFileLineData(const std::string& filename, const std::string& prevdata, const std::string& linedata)
374 bool DhcpFunction::DelFileLineData(const std::string& filename, const std::string& linedata)
405 bool DhcpFunction::ModifyFileLineData(const std::string& filename, const std::string& srcdata,
439 int DhcpFunction::FormatString(struct DhcpPacketResult &result)
485 int DhcpFunction::GetDhcpPacketResult(const std::string& filename, struct DhcpPacketResult &result)
532 int DhcpFunction::InitPidfile(const std::string& piddir, const std::string& pidfile)
577 pid_t DhcpFunction::GetPID(const std::string& pidfile)
608 int DhcpFunction::CheckProRunning(const pid_t proPid, const std::string& proName)
640 int DhcpFunction::CreateDirs(const std::string dirs, int mode)
680 bool DhcpFunction::SplitString(
708 int DhcpFunction::WaitProcessExit(const pid_t& serverPid)