Home
last modified time | relevance | path

Searched refs:u8Message (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_options_test.cpp133 uint8_t u8Message = 0; in HWTEST_F() local
134 EXPECT_EQ(true, GetDhcpOptionUint8(&packet, DHCP_MESSAGE_TYPE_OPTION, &u8Message)); in HWTEST_F()
139 uint8_t u8Message = 0; in HWTEST_F() local
140 EXPECT_EQ(false, GetDhcpOptionUint8(nullptr, DHCP_MESSAGE_TYPE_OPTION, &u8Message)); in HWTEST_F()
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_client_state_machine.cpp1351 uint8_t u8Message = 0; in GetDhcpOffer() local
1352 if (!GetDhcpOptionUint8(packet, DHCP_MESSAGE_TYPE_OPTION, &u8Message)) { in GetDhcpOffer()
1356 if (u8Message != DHCP_OFFER) { in GetDhcpOffer()
1357 DHCP_LOGW("GetDhcpOffer() not offer, type:%{public}d!", u8Message); in GetDhcpOffer()
1382 uint8_t u8Message = 0; in DhcpResponseHandle() local
1412 if (!GetDhcpOptionUint8(&packet, DHCP_MESSAGE_TYPE_OPTION, &u8Message)) { in DhcpResponseHandle()
1419 DhcpOfferPacketHandle(u8Message, &packet, timestamp); in DhcpResponseHandle()
1426 DhcpAckOrNakPacketHandle(u8Message, &packet, timestamp); in DhcpResponseHandle()

Completed in 4 milliseconds