Searched refs:cfgResult (Results 1 – 1 of 1) sorted by relevance
514 InterfaceConfigurationParcel cfgResult; in getCfg() local543 cfgResult.ifName = ifName; in getCfg()544 cfgResult.hwAddr = hwAddrToStr(hwaddr); in getCfg()545 cfgResult.ipv4Addr = std::string(inet_ntoa(addr)); in getCfg()546 cfgResult.prefixLength = prefixLength; in getCfg()547 cfgResult.flags.push_back(flags & IFF_UP ? toStdString(INetd::IF_STATE_UP()) in getCfg()550 if (flags & IFF_BROADCAST) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_BROADCAST())); in getCfg()551 if (flags & IFF_LOOPBACK) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_LOOPBACK())); in getCfg()553 cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_POINTOPOINT())); in getCfg()554 if (flags & IFF_RUNNING) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_RUNNING())); in getCfg()[all …]