Home
last modified time | relevance | path

Searched refs:PushBackOption (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_option_test.cpp74 EXPECT_EQ(RET_SUCCESS, PushBackOption(&options, &optRouter));
77 EXPECT_EQ(RET_ERROR, PushBackOption(NULL, &optMsgType));
78 EXPECT_EQ(RET_ERROR, PushBackOption(&options, NULL));
79 EXPECT_EQ(RET_SUCCESS, PushBackOption(&options, &optMsgType));
H A Ddhcp_message_sim.cpp181 PushBackOption(&msg->options, &endOpt); in ParseDhcpOptions()
285 PushBackOption(&msg->options, &endOpt); in InitMessage()
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_s_server.cpp779 PushBackOption(options, &optLeaseTime); in AppendReplyTimeOptions()
787 PushBackOption(options, &optRenewTime); in AppendReplyTimeOptions()
795 PushBackOption(options, &optRebindTime); in AppendReplyTimeOptions()
862 PushBackOption(&reply->options, &optAddress); in AddAddressOption()
884 PushBackOption(options, &optSrvId); in AddReplyServerIdOption()
894 PushBackOption(&reply->options, &optMsgType); in AddReplyMessageTypeOption()
941 PushBackOption(&reply->options, &optVendorInfo); in ReplyCommontOption()
1527 PushBackOption(&reply->options, &pNode->option); in AppendFixedOptions()
1703 PushBackOption(&reply->options, &optVendorInfo); in SendDhcpNak()
1749 if (PushBackOption(&msg->options, current) != RET_SUCCESS) { in ParseMessageOptions()
[all …]
H A Ddhcp_config.cpp161 PushBackOption(&dhcpConfig->options, &optDns); in SetDnsInfo()
H A Ddhcp_dhcpd.cpp173 PushBackOption(&config->options, &argOpt); in InitDomainNameServer()
H A Ddhcp_option.cpp85 int PushBackOption(PDhcpOptionList pOptions, PDhcpOption pOption) in PushBackOption() function
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_option.h55 int PushBackOption(PDhcpOptionList pOptions, PDhcpOption option);