Home
last modified time | relevance | path

Searched refs:GetDhcpOptionUint8 (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_options.h30 bool GetDhcpOptionUint8(const struct DhcpPacket *packet, int code, uint8_t *data);
/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_options_test.cpp134 EXPECT_EQ(true, GetDhcpOptionUint8(&packet, DHCP_MESSAGE_TYPE_OPTION, &u8Message)); in HWTEST_F()
140 EXPECT_EQ(false, GetDhcpOptionUint8(nullptr, DHCP_MESSAGE_TYPE_OPTION, &u8Message)); in HWTEST_F()
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_options.cpp206 bool GetDhcpOptionUint8(const struct DhcpPacket *packet, int code, uint8_t *data) in GetDhcpOptionUint8() function
211 DHCP_LOGW("GetDhcpOptionUint8 GetDhcpOption nullptr, code:%{public}d!", code); in GetDhcpOptionUint8()
215 DHCP_LOGE("GetDhcpOptionUint8 failed, len:%{public}zu less data:%{public}zu, code:%{public}d!", in GetDhcpOptionUint8()
H A Ddhcp_client_state_machine.cpp1352 if (!GetDhcpOptionUint8(packet, DHCP_MESSAGE_TYPE_OPTION, &u8Message)) { in GetDhcpOffer()
1353 DHCP_LOGE("GetDhcpOffer GetDhcpOptionUint8 DHCP_MESSAGE_TYPE_OPTION failed!"); in GetDhcpOffer()
1412 if (!GetDhcpOptionUint8(&packet, DHCP_MESSAGE_TYPE_OPTION, &u8Message)) { in DhcpResponseHandle()
1413 DHCP_LOGE("DhcpResponseHandle GetDhcpOptionUint8 DHCP_MESSAGE_TYPE_OPTION failed!"); in DhcpResponseHandle()

Completed in 4 milliseconds