Home
last modified time | relevance | path

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

/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_option_test.cpp76 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, 1, {DHCPOFFER, 0}}; in HWTEST_F() local
77 EXPECT_EQ(RET_ERROR, PushBackOption(NULL, &optMsgType)); in HWTEST_F()
79 EXPECT_EQ(RET_SUCCESS, PushBackOption(&options, &optMsgType)); in HWTEST_F()
91 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, 1, {DHCPOFFER, 0}}; in HWTEST_F() local
92 EXPECT_EQ(RET_ERROR, PushFrontOption(NULL, &optMsgType)); in HWTEST_F()
94 EXPECT_EQ(RET_SUCCESS, PushFrontOption(&options, &optMsgType)); in HWTEST_F()
104 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, 1, {DHCPOFFER, 0}}; in HWTEST_F() local
105 EXPECT_EQ(RET_SUCCESS, PushFrontOption(&options, &optMsgType)); in HWTEST_F()
118 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, 1, {DHCPOFFER, 0}}; in HWTEST_F() local
119 EXPECT_EQ(RET_SUCCESS, PushFrontOption(&options, &optMsgType)); in HWTEST_F()
[all...]
H A Ddhcp_message_sim.cpp279 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, OPT_MESSAGE_TYPE_LEGTH, {msgType, 0}}; in InitMessage() local
280 PushFrontOption(&msg->options, &optMsgType); in InitMessage()
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_s_server.cpp891 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, OPT_MESSAGE_TYPE_LEGTH, {replyMessageType, 0}}; in AddReplyMessageTypeOption() local
892 PushBackOption(&reply->options, &optMsgType); in AddReplyMessageTypeOption()
1557 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, OPT_MESSAGE_TYPE_LEGTH, {msgType, 0}}; in AppendReplyTypeOption() local
1558 PushFrontOption(&reply->options, &optMsgType); in AppendReplyTypeOption()

Completed in 4 milliseconds