Home
last modified time | relevance | path

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

/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_options.h32 bool GetDhcpOptionUint32n(const struct DhcpPacket *packet, int code, uint32_t *data1, uint32_t *data2);
/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_options_test.cpp241 EXPECT_EQ(true, GetDhcpOptionUint32n(&packet, ROUTER_OPTION, &uData1, &uData2)); in HWTEST_F()
248 EXPECT_EQ(false, GetDhcpOptionUint32n(nullptr, ROUTER_OPTION, &uData1, &uData2)); in HWTEST_F()
266 EXPECT_EQ(false, GetDhcpOptionUint32n(nullptr, DHCP_MESSAGE_TYPE_OPTION, &uData1, &uData2)); in HWTEST_F()
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_options.cpp250 bool GetDhcpOptionUint32n(const struct DhcpPacket *packet, int code, uint32_t *data1, uint32_t *data2) in GetDhcpOptionUint32n() function
255 DHCP_LOGW("GetDhcpOptionUint32n GetDhcpOption nullptr, code:%{public}d!", code); in GetDhcpOptionUint32n()
260 DHCP_LOGE("GetDhcpOptionUint32n failed, len:%{public}zu is not %{public}zu * n, code:%{public}d!", in GetDhcpOptionUint32n()
H A Ddhcp_client_state_machine.cpp1100 if (GetDhcpOptionUint32n(packet, ROUTER_OPTION, &u32Data, &u32Data2)) { in ParseNetworkInfo()

Completed in 7 milliseconds