Home
last modified time | relevance | path

Searched refs:DHCP_OPTION_SIZE (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_option.h22 #define DHCP_OPTION_SIZE 256 macro
33 uint8_t data[DHCP_OPTION_SIZE];
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_option.cpp247 if (flen > (DHCP_OPTION_SIZE - 1)) { in FillOption()
248 flen = DHCP_OPTION_SIZE - 1; in FillOption()
278 if (flen > (DHCP_OPTION_SIZE)) { in FillOptionData()
279 flen = DHCP_OPTION_SIZE; in FillOptionData()
H A Ddhcp_s_server.cpp1737 …uint8_t *maxPos = (((uint8_t *)current) + (DHCP_OPTION_SIZE - MAGIC_COOKIE_LENGTH - OPT_HEADER_LEN… in ParseMessageOptions()
1821 while (pNode && (uint32_t)pNode->option.length < DHCP_OPTION_SIZE) { in ParseReplyOptions()
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_message_sim.cpp192 while (pNode && (uint32_t)pNode->option.length < DHCP_OPTION_SIZE) { in ParseDhcpOptions()