Lines Matching defs:totLen
281 int CheckReadBytes(const int count, const int totLen)
295 if (count < totLen) {
296 DHCP_LOGE("CheckReadBytes() count:%{public}d less than totLen:%{public}d, packet is Truncated!", count, totLen);
300 DHCP_LOGI("CheckReadBytes() count:%{public}d, tot:%{public}d, common:%{public}d.", count, totLen, nCommonSize);
304 int CheckUdpPacket(struct UdpDhcpPacket *pPacket, const int totLen)
311 if (totLen > (int)sizeof(struct UdpDhcpPacket)) {
312 DHCP_LOGE("CheckUdpPacket() totLen:%{public}d more than %{public}d!", totLen,
335 uint16_t uLen = (uint16_t)(totLen - (int)sizeof(pPacket->ip));
341 DHCP_LOGI("CheckUdpPacket() success, totLen:%{public}d.", totLen);