• Home
  • Raw
  • Download

Lines Matching refs:mDhcpInfo

313     memset(&mDhcpInfo, 0, sizeof(mDhcpInfo));  in configureDhcp()
334 mDhcpInfo.leaseTime = in configureDhcp()
340 mDhcpInfo.t1 = in configureDhcp()
346 mDhcpInfo.t2 = in configureDhcp()
352 mDhcpInfo.subnetMask = in configureDhcp()
358 mDhcpInfo.gateway = in configureDhcp()
364 mDhcpInfo.mtu = in configureDhcp()
370 mDhcpInfo.dns[0] = in configureDhcp()
374 mDhcpInfo.dns[1] = in configureDhcp()
378 mDhcpInfo.dns[2] = in configureDhcp()
382 mDhcpInfo.dns[3] = in configureDhcp()
387 mDhcpInfo.serverId = in configureDhcp()
395 mDhcpInfo.offeredAddress = msg.dhcpData.yiaddr; in configureDhcp()
397 if (mDhcpInfo.leaseTime == 0) { in configureDhcp()
403 uint32_t t1 = mDhcpInfo.t1, t2 = mDhcpInfo.t2; in configureDhcp()
404 mT1.expireSeconds(t1 > 0 ? t1 : (mDhcpInfo.leaseTime / 2)); in configureDhcp()
405 mT2.expireSeconds(t2 > 0 ? t2 : ((mDhcpInfo.leaseTime * 7) / 8)); in configureDhcp()
413 if (mDhcpInfo.mtu != 0) { in configureDhcp()
414 res = mInterface.setMtu(mDhcpInfo.mtu); in configureDhcp()
422 res = mInterface.setAddress(mDhcpInfo.offeredAddress); in configureDhcp()
428 res = mInterface.setSubnetMask(mDhcpInfo.subnetMask); in configureDhcp()
434 res = mRouter.setDefaultGateway(mDhcpInfo.gateway, mInterface.getIndex()); in configureDhcp()
442 property_set(propName, addrToStr(mDhcpInfo.gateway).c_str()); in configureDhcp()
444 int numDnsEntries = sizeof(mDhcpInfo.dns) / sizeof(mDhcpInfo.dns[0]); in configureDhcp()
448 if (mDhcpInfo.dns[i] != 0) { in configureDhcp()
449 property_set(propName, addrToStr(mDhcpInfo.dns[i]).c_str()); in configureDhcp()