Searched refs:ifindex (Results 1 - 8 of 8) sorted by relevance
/system/netd/bpfloader/ |
H A D | bpf_kern.c | 33 uint32_t key = skb->ifindex; 40 uint32_t key = skb->ifindex;
|
H A D | bpf_kern.h | 186 struct stats_key key = {.uid = uid, .tag = tag, .counterSet = 0, .ifaceIndex = skb->ifindex};
|
/system/netd/tests/ |
H A D | tun_interface.h | 36 int ifindex() const { return mIfIndex; } function in class:android::net::TunInterface
|
/system/netd/server/ |
H A D | NetworkController.cpp | 614 ALOGE("Attempting to add address %s without ifindex", address); 621 bool NetworkController::removeInterfaceAddress(unsigned ifindex, const char* address) { argument 626 ALOGE("Removing unknown address %s from ifindex %u", address, ifindex); 630 if (ifindices.erase(ifindex) > 0) { 635 ALOGE("No record of address %s on interface %u", address, ifindex); 639 if (mIfindexToLastNetId.find(ifindex) == mIfindexToLastNetId.end()) { 640 ALOGE("Interface index %u was never in a currently-connected netId", ifindex); 643 unsigned lastNetId = mIfindexToLastNetId[ifindex];
|
H A D | RouteController.cpp | 359 uint32_t ifindex; local 374 // If an interface was specified, find the ifindex. 376 ifindex = if_nametoindex(interface); 377 if (!ifindex) { 412 { &ifindex, interface != OIF_NONE ? sizeof(ifindex) : 0 },
|
/system/core/libnetutils/ |
H A D | ifc_utils.c | 258 int ifindex, s, len, ret; local 281 ifindex = if_nametoindex(name); 282 if (ifindex == 0) { 317 req.r.ifa_index = ifindex;
|
/system/connectivity/wificond/scanning/ |
H A D | scan_utils.cpp | 85 NL80211Attr<uint32_t> ifindex(NL80211_ATTR_IFINDEX, interface_index); 86 get_scan.AddAttribute(ifindex);
|
/system/hardware/interfaces/net/netd/1.1/vts/functional/ |
H A D | VtsHalNetNetdV1_1TargetTest.cpp | 291 uint32_t table1 = 1000 + sTun1.ifindex(); 292 uint32_t table2 = 1000 + sTun1.ifindex();
|
Completed in 1783 milliseconds