Searched refs:pOpt (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_options.cpp | 325 int AddOptStrToOpts(uint8_t *pOpts, uint8_t *pOpt, int nOptLen) in AddOptStrToOpts() argument 327 int optStrLen = DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + pOpt[DHCP_OPT_LEN_INDEX]; in AddOptStrToOpts() 330 pOpt[DHCP_OPT_CODE_INDEX], nOptLen, optStrLen); in AddOptStrToOpts() 336 DHCP_LOGE("AddOptStrToOpts() code:%{public}u did not fit into the packet!", pOpt[DHCP_OPT_CODE_INDEX]); in AddOptStrToOpts() 340 DHCP_LOGD("AddOptStrToOpts() adding option code %{public}u.", pOpt[DHCP_OPT_CODE_INDEX]); in AddOptStrToOpts() 341 if (memcpy_s(pOpts + nEndIndex, nOptLen + 1, pOpt, nOptLen) != EOK) { in AddOptStrToOpts()
|
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_options.h | 35 int AddOptStrToOpts(uint8_t *pOpts, uint8_t *pOpt, int nOptLen);
|
Completed in 1 milliseconds