Searched refs:strOptVendor (Results 1 - 12 of 12) sorted by relevance
/foundation/communication/dhcp/interfaces/kits/c/ |
H A D | dhcp_result_event.h | 51 char strOptVendor[DHCP_MAX_FILE_BYTES]; /* your (client) vendor */ member
|
/foundation/communication/dhcp/interfaces/inner_api/include/ |
H A D | dhcp_define.h | 182 char strOptVendor[DHCP_FILE_MAX_BYTES]; /* dhcp option DHO_VENDOR */ member
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_function.cpp | 476 if (strncmp(result.strOptVendor, "*", 1) == 0) { in FormatString() 477 if (memset_s(result.strOptVendor, DHCP_FILE_MAX_BYTES, 0, DHCP_FILE_MAX_BYTES) != EOK) { in FormatString() 502 result.strOptRouter2, INET_ADDRSTRLEN, result.strOptVendor, DHCP_FILE_MAX_BYTES, &result.uOptLeasetime); in GetDhcpPacketResult()
|
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_client_def.h | 375 char strOptVendor[DHCP_FILE_MAX_BYTES]; /* dhcp option VENDOR_SPECIFIC_INFO_OPTION */ member
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_client_state_machine.cpp | 1169 if (strlen(result->strOptVendor) == 0) { in FormatString() 1170 if (strncpy_s(result->strOptVendor, DHCP_FILE_MAX_BYTES, "*", DHCP_FILE_MAX_BYTES - 1) != EOK) { in FormatString() 1171 DHCP_LOGE("FormatString strncpy_s strOptVendor failed!"); in FormatString() 1191 if (strncpy_s(result->strOptVendor, DHCP_FILE_MAX_BYTES, pHostName, DHCP_FILE_MAX_BYTES - 1) != EOK) { in GetDHCPServerHostName() 1197 result->strOptVendor is %{public}s.", result->strOptVendor); in GetDHCPServerHostName() 1198 if (strncat_s(result->strOptVendor, DHCP_FILE_MAX_BYTES, in GetDHCPServerHostName() 1205 result->strOptVendor is %{public}s.", result->strOptVendor); in GetDHCPServerHostName() 1230 if (strncpy_s(result->strOptVendor, DHCP_FILE_MAX_BYTE in ParseNetworkVendorInfo() [all...] |
H A D | dhcp_client_service_impl.cpp | 413 result.strVendor = ipResult.strOptVendor; in DhcpIpv4ResultSuccess() 460 result.strVendor = ipResult.strOptVendor; in DhcpOfferResultSuccess()
|
/foundation/communication/dhcp/test/fuzztest/dhcpfunction_fuzzer/ |
H A D | dhcpfunction_fuzzer.cpp | 114 strncpy_s(result.strOptVendor, DHCP_FILE_MAX_BYTES, "*", DHCP_FILE_MAX_BYTES - 1); in FormatStringTest()
|
/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/ |
H A D | dhcpclientfun_fuzzer.cpp | 658 memset_s(result.strOptVendor, sizeof(result.strOptVendor), 0, sizeof(result.strOptVendor)); in FormatStringFuzzerTest()
|
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_client_state_machine_test.cpp | 586 strcpy_s(result8.strOptVendor, sizeof(result8.strOptVendor), ""); in HWTEST_F()
|
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_event.cpp | 53 if (strcpy_s(dhcpResult.strOptVendor, DHCP_MAX_FILE_BYTES, result.strVendor.c_str()) != EOK) { in ResultInfoCopy() 54 DHCP_LOGE("ResultInfoCopy strOptVendor strcpy_s failed!"); in ResultInfoCopy()
|
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_function_test.cpp | 226 ASSERT_TRUE(strncpy_s(result.strOptVendor, DHCP_FILE_MAX_BYTES, "*", DHCP_FILE_MAX_BYTES - 1) == EOK); in HWTEST_F()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_state_machine.cpp | 4253 if (strcpy_s(dest->strOptVendor, DHCP_MAX_FILE_BYTES, source->strOptVendor) != EOK) { in SaveDhcpResult() 4254 LOGE("SaveDhcpResult strOptVendor strcpy_s failed!"); in SaveDhcpResult() 4329 result->strOptRouter1, result->strOptRouter2, result->strOptDns1, result->strOptDns2, result->strOptVendor, in OnSuccess() 4415 std::string strVendor = result->strOptVendor; in TryToSaveIpV4Result()
|
Completed in 19 milliseconds