Searched refs:ioctlByIfName (Results 1 – 1 of 1) sorted by relevance
2560 android::netdutils::StatusOr<ifreq> ioctlByIfName(const std::string& ifName, unsigned long flag) { in ioctlByIfName() function2572 auto res = ioctlByIfName(ifName, SIOCGIFHWADDR); in getInterfaceHwAddr()2583 auto res = ioctlByIfName(ifName, SIOCGIFNETMASK); in getInterfaceIPv4Prefix()2595 auto res = ioctlByIfName(ifName, SIOCGIFADDR); in getInterfaceIPv4Addr()2606 auto res = ioctlByIfName(ifName, SIOCGIFFLAGS); in getInterfaceFlags()