Searched refs:PushBackOption (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_option_test.cpp | 74 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 D | dhcp_message_sim.cpp | 181 PushBackOption(&msg->options, &endOpt); in ParseDhcpOptions() 285 PushBackOption(&msg->options, &endOpt); in InitMessage()
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_s_server.cpp | 779 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 D | dhcp_config.cpp | 161 PushBackOption(&dhcpConfig->options, &optDns); in SetDnsInfo()
|
H A D | dhcp_dhcpd.cpp | 173 PushBackOption(&config->options, &argOpt); in InitDomainNameServer()
|
H A D | dhcp_option.cpp | 85 int PushBackOption(PDhcpOptionList pOptions, PDhcpOption pOption) in PushBackOption() function
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_option.h | 55 int PushBackOption(PDhcpOptionList pOptions, PDhcpOption option);
|