Searched refs:DhcpErrorCode (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
H A D | mock_dhcp_service.cpp | 43 DhcpErrorCode __wrap_StartDhcpClient(const char *ifname, bool bIpv6) in __wrap_StartDhcpClient() 49 DhcpErrorCode __real_StopDhcpClient(const char *ifname, bool bIpv6); 50 DhcpErrorCode __wrap_StopDhcpClient(const char *ifname, bool bIpv6) in __wrap_StopDhcpClient() 63 DhcpErrorCode __real_StartDhcpServer(const char *ifname); 64 DhcpErrorCode __wrap_StartDhcpServer(const char *ifname) in __wrap_StartDhcpServer() 70 DhcpErrorCode __real_StopDhcpServer(const char *ifname); 71 DhcpErrorCode __wrap_StopDhcpServer(const char *ifname) in __wrap_StopDhcpServer() 98 DhcpErrorCode __real_RemoveAllDhcpRange(const char *tagName); 99 DhcpErrorCode __wrap_RemoveAllDhcpRange(const char *tagName) in __wrap_RemoveAllDhcpRange() 119 DhcpErrorCode __real_UpdateLeasesTime(const char *leaseTime); [all …]
|
H A D | mock_dhcp_service.h | 25 …MOCK_METHOD2(RegisterDhcpClientCallBack, DhcpErrorCode(const char *ifname, const ClientCallBack *e… 26 MOCK_METHOD2(StartDhcpClient, DhcpErrorCode(const char *ifname, bool bIpv6)); 27 MOCK_METHOD2(StopDhcpClient, DhcpErrorCode(const char *ifname, bool bIpv6)); 29 MOCK_METHOD1(StartDhcpServer, DhcpErrorCode(const char *ifname)); 30 MOCK_METHOD1(StopDhcpServer, DhcpErrorCode(const char *ifname)); 31 MOCK_METHOD2(PutDhcpRange, DhcpErrorCode(const char *tagName, const DhcpRange *range)); 32 MOCK_METHOD2(RemoveDhcpRange, DhcpErrorCode(const char *tagName, const void *range)); 33 MOCK_METHOD1(RemoveAllDhcpRange, DhcpErrorCode(const char *tagName)); 34 MOCK_METHOD2(SetDhcpRange, DhcpErrorCode(const char *ifname, const DhcpRange *range)); 35 MOCK_METHOD2(SetDhcpName, DhcpErrorCode(const char *ifname, const char *tagName)); [all …]
|
/ohos5.0/foundation/communication/dhcp/interfaces/kits/c/ |
H A D | dhcp_c_api.h | 49 DhcpErrorCode StartDhcpClient(const char *ifname, bool bIpv6); 57 DhcpErrorCode SetConfiguration(const char *ifname, const RouterConfig config); 65 DhcpErrorCode StopDhcpClient(const char *ifname, bool bIpv6); 68 DhcpErrorCode StartDhcpServer(const char *ifname); 69 DhcpErrorCode StopDhcpServer(const char *ifname); 70 DhcpErrorCode SetDhcpRange(const char *ifname, const DhcpRange *range); 71 DhcpErrorCode SetDhcpName(const char *ifname, const char *tagName); 72 DhcpErrorCode PutDhcpRange(const char *tagName, const DhcpRange *range); 73 DhcpErrorCode RemoveAllDhcpRange(const char *tagName); 74 DhcpErrorCode RemoveDhcpRange(const char *tagName, const void *range); [all …]
|
H A D | dhcp_error_code.h | 26 } DhcpErrorCode; typedef
|
/ohos5.0/foundation/communication/dhcp/frameworks/native/c_adapter/src/ |
H A D | dhcp_c_service.cpp | 77 NO_SANITIZE("cfi") DhcpErrorCode StartDhcpClient(const char *ifname, bool bIpv6) in StartDhcpClient() 84 DhcpErrorCode SetConfiguration(const char *ifname, const RouterConfig config) in SetConfiguration() 94 NO_SANITIZE("cfi") DhcpErrorCode StopDhcpClient(const char *ifname, bool bIpv6) in StopDhcpClient() 125 NO_SANITIZE("cfi") DhcpErrorCode StartDhcpServer(const char *ifname) in StartDhcpServer() 135 NO_SANITIZE("cfi") DhcpErrorCode StopDhcpServer(const char *ifname) in StopDhcpServer() 156 NO_SANITIZE("cfi") DhcpErrorCode SetDhcpRange(const char *ifname, const DhcpRange *range) in SetDhcpRange() 173 NO_SANITIZE("cfi") DhcpErrorCode SetDhcpName(const char *ifname, const char *tagName) in SetDhcpName() 184 NO_SANITIZE("cfi") DhcpErrorCode PutDhcpRange(const char *tagName, const DhcpRange *range) in PutDhcpRange() 201 NO_SANITIZE("cfi") DhcpErrorCode RemoveAllDhcpRange(const char *tagName) in RemoveAllDhcpRange() 211 DhcpErrorCode RemoveDhcpRange(const char *tagName, const void *range) in RemoveDhcpRange() [all …]
|
H A D | dhcp_c_utils.cpp | 24 static std::map<ErrCode, DhcpErrorCode> g_ErrCodeMap = { 34 DhcpErrorCode GetCErrorCode(ErrCode errCode) in GetCErrorCode() 36 std::map<ErrCode, DhcpErrorCode>::const_iterator iter = g_ErrCodeMap.find(errCode); in GetCErrorCode()
|
/ohos5.0/foundation/communication/dhcp/frameworks/native/c_adapter/inc/ |
H A D | dhcp_c_utils.h | 54 DhcpErrorCode GetCErrorCode(ErrCode errCode);
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_state_machine.cpp | 2991 DhcpErrorCode dhcpRet = RegisterDhcpClientCallBack(ifname.c_str(), &clientCallBack); in RegisterCallBack()
|