Searched refs:DHCP_FILE_MAX_BYTES (Results 1 - 6 of 6) sorted by relevance
/foundation/communication/dhcp/interfaces/inner_api/include/ |
H A D | dhcp_define.h | 51 const int DHCP_FILE_MAX_BYTES = 128; member 182 char strOptVendor[DHCP_FILE_MAX_BYTES]; /* dhcp option DHO_VENDOR */
|
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_client_def.h | 66 #define DHCP_FILE_MAX_BYTES 128 macro 375 char strOptVendor[DHCP_FILE_MAX_BYTES]; /* dhcp option VENDOR_SPECIFIC_INFO_OPTION */
|
/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/services/dhcp_server/src/ |
H A D | dhcp_function.cpp | 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/src/ |
H A D | dhcp_client_state_machine.cpp | 1170 if (strncpy_s(result->strOptVendor, DHCP_FILE_MAX_BYTES, "*", DHCP_FILE_MAX_BYTES - 1) != EOK) { in FormatString() 1191 if (strncpy_s(result->strOptVendor, DHCP_FILE_MAX_BYTES, pHostName, DHCP_FILE_MAX_BYTES - 1) != EOK) { in GetDHCPServerHostName() 1198 if (strncat_s(result->strOptVendor, DHCP_FILE_MAX_BYTES, in GetDHCPServerHostName() 1199 pSname, DHCP_FILE_MAX_BYTES - strlen(pHostName) - 1) != EOK) { in GetDHCPServerHostName() 1230 if (strncpy_s(result->strOptVendor, DHCP_FILE_MAX_BYTES, pVendor, DHCP_FILE_MAX_BYTES - 1) != EOK) { in ParseNetworkVendorInfo()
|
/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()
|
Completed in 7 milliseconds