Home
last modified time | relevance | path

Searched refs:GetDhcpOptionDataLen (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_options.h28 uint8_t GetDhcpOptionDataLen(const uint8_t code);
/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_options_test.cpp47 EXPECT_GT(GetDhcpOptionDataLen(DHCP_MESSAGE_TYPE_OPTION), 0); in HWTEST_F()
52 EXPECT_EQ(GetDhcpOptionDataLen(PAD_OPTION), 0); in HWTEST_F()
53 EXPECT_EQ(GetDhcpOptionDataLen(CLIENT_IDENTIFIER_OPTION), 0); in HWTEST_F()
54 EXPECT_EQ(GetDhcpOptionDataLen(DOMAIN_NAME_SERVER_OPTION), 0); in HWTEST_F()
55 EXPECT_EQ(GetDhcpOptionDataLen(DOMAIN_NAME_OPTION), 0); in HWTEST_F()
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_options.cpp118 uint8_t GetDhcpOptionDataLen(const uint8_t code) in GetDhcpOptionDataLen() function
122 DHCP_LOGE("GetDhcpOptionDataLen code:%{public}d error, GetDhcpOptionCodeType invalid!", code); in GetDhcpOptionDataLen()
144 DHCP_LOGE("GetDhcpOptionDataLen code:%{public}d failed, nDataType:%{public}d is invalid!", in GetDhcpOptionDataLen()
351 uint8_t uLen = GetDhcpOptionDataLen(code); in AddOptValueToOpts()
353 DHCP_LOGE("AddOptValueToOpts() code:%{public}d failed, GetDhcpOptionDataLen uLen:0!", code); in AddOptValueToOpts()

Completed in 3 milliseconds