Searched refs:cfgResult (Results 1 – 1 of 1) sorted by relevance
519 InterfaceConfigurationParcel cfgResult; in getCfg() local548 cfgResult.ifName = ifName; in getCfg()549 cfgResult.hwAddr = hwAddrToStr(hwaddr); in getCfg()550 cfgResult.ipv4Addr = std::string(inet_ntoa(addr)); in getCfg()551 cfgResult.prefixLength = prefixLength; in getCfg()552 cfgResult.flags.push_back(flags & IFF_UP ? toStdString(INetd::IF_STATE_UP()) in getCfg()555 if (flags & IFF_BROADCAST) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_BROADCAST())); in getCfg()556 if (flags & IFF_LOOPBACK) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_LOOPBACK())); in getCfg()558 cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_POINTOPOINT())); in getCfg()559 if (flags & IFF_RUNNING) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_RUNNING())); in getCfg()[all …]