Lines Matching refs:result
40 DhcpResult *result)
42 if (ifname == nullptr || result == nullptr) {
43 NETNATIVE_LOGE("ifname or result is nullptr!");
51 ifname, result->iptype, result->strOptClientId,
52 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptServerId).c_str(),
53 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptSubnet).c_str(),
54 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptDns1).c_str(),
55 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptDns2).c_str(),
56 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptRouter1).c_str(),
57 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptRouter2).c_str());
58 dhcpController_->Process(ifname, result);
105 void DhcpController::Process(const std::string &iface, DhcpResult *result)
113 ptr->ipAddr_ = result->strOptClientId;
114 ptr->gateWay_ = result->strOptServerId;
115 ptr->subNet_ = result->strOptSubnet;
116 ptr->route1_ = result->strOptRouter1;
117 ptr->route2_ = result->strOptRouter2;
118 ptr->dns1_ = result->strOptDns1;
119 ptr->dns2_ = result->strOptDns2;