Searched refs:ifIndex (Results 1 – 4 of 4) sorted by relevance
/system/netd/server/ |
D | NetlinkHandler.cpp | 58 static long parseIfIndex(const char* ifIndex) { in parseIfIndex() argument 59 if (ifIndex == nullptr) { in parseIfIndex() 62 long ifaceIndex = strtol(ifIndex, NULL, 10); in parseIfIndex() 83 const char *ifIndex = evt->findParam("IFINDEX"); in onEvent() local 84 long ifaceIndex = parseIfIndex(ifIndex); in onEvent() 88 ALOGE("invalid interface index: %s(%s)", iface, ifIndex); in onEvent() 108 const char *ifIndex = evt->findParam("IFINDEX"); in onEvent() local 116 long ifaceIndex = parseIfIndex(ifIndex); in onEvent() 118 ALOGE("invalid interface index: %s(%s)", iface, ifIndex); in onEvent()
|
D | NetworkController.h | 129 void addInterfaceAddress(unsigned ifIndex, const char* address); 132 bool removeInterfaceAddress(unsigned ifIndex, const char* address);
|
D | NetworkController.cpp | 505 int ifIndex = RouteController::getIfIndex(interface); in addInterfaceToNetwork() local 506 if (ifIndex) { in addInterfaceToNetwork() 507 mIfindexToLastNetId[ifIndex] = netId; in addInterfaceToNetwork() 610 void NetworkController::addInterfaceAddress(unsigned ifIndex, const char* address) { in addInterfaceAddress() argument 613 if (ifIndex == 0) { in addInterfaceAddress() 617 mAddressToIfindices[address].insert(ifIndex); in addInterfaceAddress()
|
D | TrafficController.cpp | 686 uint32_t ifIndex = key.ifaceIndex; in dump() local 687 auto ifname = mIfaceIndexNameMap.readValue(ifIndex); in dump() 691 dw.println("%u %s 0x%x %u %u %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64, ifIndex, in dump()
|