Home
last modified time | relevance | path

Searched refs:strOptVendor (Results 1 - 12 of 12) sorted by relevance

/foundation/communication/dhcp/interfaces/kits/c/
H A Ddhcp_result_event.h51 char strOptVendor[DHCP_MAX_FILE_BYTES]; /* your (client) vendor */ member
/foundation/communication/dhcp/interfaces/inner_api/include/
H A Ddhcp_define.h182 char strOptVendor[DHCP_FILE_MAX_BYTES]; /* dhcp option DHO_VENDOR */ member
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_function.cpp476 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 Ddhcp_client_def.h375 char strOptVendor[DHCP_FILE_MAX_BYTES]; /* dhcp option VENDOR_SPECIFIC_INFO_OPTION */ member
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_client_state_machine.cpp1169 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 Ddhcp_client_service_impl.cpp413 result.strVendor = ipResult.strOptVendor; in DhcpIpv4ResultSuccess()
460 result.strVendor = ipResult.strOptVendor; in DhcpOfferResultSuccess()
/foundation/communication/dhcp/test/fuzztest/dhcpfunction_fuzzer/
H A Ddhcpfunction_fuzzer.cpp114 strncpy_s(result.strOptVendor, DHCP_FILE_MAX_BYTES, "*", DHCP_FILE_MAX_BYTES - 1); in FormatStringTest()
/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/
H A Ddhcpclientfun_fuzzer.cpp658 memset_s(result.strOptVendor, sizeof(result.strOptVendor), 0, sizeof(result.strOptVendor)); in FormatStringFuzzerTest()
/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_client_state_machine_test.cpp586 strcpy_s(result8.strOptVendor, sizeof(result8.strOptVendor), ""); in HWTEST_F()
/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_event.cpp53 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 Ddhcp_function_test.cpp226 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 Dsta_state_machine.cpp4253 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 27 milliseconds