Home
last modified time | relevance | path

Searched refs:ifName (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish/network/netmgr/commands/
Dwifi_command.cpp157 fprintf(out.get(), "bss=%s\n", ap.second.ifName.c_str()); in writeConfig()
199 Result WifiCommand::setBlocked(const char* ifName, bool blocked) { in setBlocked() argument
208 sSetForwardRule[kOutInterfaceIndex] = ifName; in setBlocked()
214 sSetForwardRule[kInInterfaceIndex] = ifName; in setBlocked()
232 if (ap.ifName.empty()) { in onAdd()
237 ap.ifName = buffer; in onAdd()
238 auto usedInterface = mUsedInterfaces.find(ap.ifName); in onAdd()
242 mUsedInterfaces.insert(ap.ifName); in onAdd()
262 return setBlocked(interface->second.ifName.c_str(), true); in onBlock()
271 return setBlocked(interface->second.ifName.c_str(), false); in onUnblock()
Dwifi_command.h37 Result setBlocked(const char* ifName, bool blocked);
45 std::string ifName; member
/device/generic/goldfish/ril/
Dreference-ril.c3937 char ifName[IF_NAMESIZE]; local
3944 if (if_indextoname(ifIndex, ifName) == NULL) {
3948 if (strcmp(radioIfName, ifName) != 0) {
3983 RLOGE("Unable to convert address to string for if %s", ifName);