Searched refs:GetDHCPServerHostName (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_client_state_machine_test.cpp | 243 * @tc.desc: GetDHCPServerHostName() 251 EXPECT_EQ(DHCP_OPT_FAILED, dhcpClient->GetDHCPServerHostName(packet, &result)); in HWTEST_F() 256 * @tc.desc: GetDHCPServerHostName() 264 EXPECT_EQ(DHCP_OPT_FAILED, dhcpClient->GetDHCPServerHostName(&packet, result)); in HWTEST_F() 269 * @tc.desc: GetDHCPServerHostName() 277 EXPECT_EQ(DHCP_OPT_FAILED, dhcpClient->GetDHCPServerHostName(packet, result)); in HWTEST_F() 282 * @tc.desc: GetDHCPServerHostName() 291 EXPECT_EQ(DHCP_OPT_SUCCESS, dhcpClient->GetDHCPServerHostName(&packet, &result)); in HWTEST_F()
|
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_client_state_machine.h | 52 int GetDHCPServerHostName(const struct DhcpPacket *packet, struct DhcpIpResult *result);
|
/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/ |
H A D | dhcpclientfun_fuzzer.cpp | 664 dhcpClient->GetDHCPServerHostName(nullptr, nullptr); in GetDHCPServerHostNameFuzzerTest() 668 dhcpClient->GetDHCPServerHostName(&packet, &result); in GetDHCPServerHostNameFuzzerTest()
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_client_state_machine.cpp | 1177 int DhcpClientStateMachine::GetDHCPServerHostName(const struct DhcpPacket *packet, struct DhcpIpResult *result) in GetDHCPServerHostName() function in OHOS::DHCP::DhcpClientStateMachine 1180 DHCP_LOGE("GetDHCPServerHostName() error, packet == NULL or result == NULL!"); in GetDHCPServerHostName() 1186 DHCP_LOGW("GetDHCPServerHostName() recv DHCP_ACK sname, pSname is NULL!"); in GetDHCPServerHostName() 1189 DHCP_LOGI("GetDHCPServerHostName() recv DHCP_ACK sname, original pSname is %{public}s.", pSname); in GetDHCPServerHostName() 1192 DHCP_LOGE("GetDHCPServerHostName() error, strncpy_s pHostName failed!"); in GetDHCPServerHostName() 1196 DHCP_LOGI("GetDHCPServerHostName() recv DHCP_ACK sname, save ""hostname:"" only, \ in GetDHCPServerHostName() 1200 DHCP_LOGE("GetDHCPServerHostName() error, strncat_s pSname failed!"); in GetDHCPServerHostName() 1204 DHCP_LOGI("GetDHCPServerHostName() recv DHCP_ACK sname, add pSname, \ in GetDHCPServerHostName() 1223 if (GetDHCPServerHostName(packet, result) != DHCP_OPT_SUCCESS) { in ParseNetworkVendorInfo() 1224 DHCP_LOGE("GetDHCPServerHostName() erro in ParseNetworkVendorInfo() [all...] |
Completed in 6 milliseconds