Home
last modified time | relevance | path

Searched refs:dhcpClientCallBack (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp33 static OHOS::sptr<DhcpClientCallBack> dhcpClientCallBack = nullptr; variable
46 if (dhcpClientCallBack == nullptr) { in RegisterDhcpClientCallBack()
50 if (dhcpClientCallBack == nullptr) { in RegisterDhcpClientCallBack()
54 CHECK_PTR_RETURN(dhcpClientCallBack, DHCP_INVALID_PARAM); in RegisterDhcpClientCallBack()
55 dhcpClientCallBack->RegisterCallBack(ifname, event); in RegisterDhcpClientCallBack()
64 if (dhcpClientCallBack == nullptr) { in RegisterDhcpClientReportCallBack()
65 dhcpClientCallBack = std::make_shared<DhcpClientCallBack>(); in RegisterDhcpClientReportCallBack()
68 if (dhcpClientCallBack == nullptr) { in RegisterDhcpClientReportCallBack()
72 CHECK_PTR_RETURN(dhcpClientCallBack, DHCP_INVALID_PARAM); in RegisterDhcpClientReportCallBack()
98 CHECK_PTR_RETURN(dhcpClientCallBack, DHCP_INVALID_PARAM); in StopDhcpClient()
[all …]
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpclient_fuzzer/
H A Ddhcpclient_fuzzer.cpp23 static OHOS::sptr<DhcpClientCallBack> dhcpClientCallBack = variable
38 dhcpClient->RegisterDhcpClientCallBack(ifname, dhcpClientCallBack); in DhcpClientFuzzerTest()