Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_option_test.cpp76 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, 1, {DHCPOFFER, 0}}; variable
77 EXPECT_EQ(RET_ERROR, PushBackOption(NULL, &optMsgType));
79 EXPECT_EQ(RET_SUCCESS, PushBackOption(&options, &optMsgType));
91 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, 1, {DHCPOFFER, 0}}; variable
92 EXPECT_EQ(RET_ERROR, PushFrontOption(NULL, &optMsgType));
94 EXPECT_EQ(RET_SUCCESS, PushFrontOption(&options, &optMsgType));
104 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, 1, {DHCPOFFER, 0}}; variable
105 EXPECT_EQ(RET_SUCCESS, PushFrontOption(&options, &optMsgType));
118 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, 1, {DHCPOFFER, 0}}; variable
119 EXPECT_EQ(RET_SUCCESS, PushFrontOption(&options, &optMsgType));
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()
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_s_server.cpp893 … DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, OPT_MESSAGE_TYPE_LEGTH, {replyMessageType, 0}}; in AddReplyMessageTypeOption() local
894 PushBackOption(&reply->options, &optMsgType); in AddReplyMessageTypeOption()
1559 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, OPT_MESSAGE_TYPE_LEGTH, {msgType, 0}}; in AppendReplyTypeOption() local
1560 PushFrontOption(&reply->options, &optMsgType); in AppendReplyTypeOption()