Searched refs:GetDhcpOptionUint8 (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_options.h | 30 bool GetDhcpOptionUint8(const struct DhcpPacket *packet, int code, uint8_t *data);
|
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_options_test.cpp | 134 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 D | dhcp_options.cpp | 206 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 D | dhcp_client_state_machine.cpp | 1352 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 5 milliseconds