Searched refs:ifindex (Results 1 – 11 of 11) sorted by relevance
/system/netd/bpf_progs/ |
D | netd.c | 32 uint32_t key = skb->ifindex; in xt_bpf_egress_prog() 39 uint32_t key = skb->ifindex; in xt_bpf_ingress_prog()
|
D | netd.h | 190 if (allowed_iif && skb->ifindex != 1 && skb->ifindex != allowed_iif) { in bpf_owner_match() 226 stats_key key = {.uid = uid, .tag = tag, .counterSet = 0, .ifaceIndex = skb->ifindex}; in bpf_traffic_account()
|
D | clatd.c | 91 .iif = skb->ifindex, in nat64()
|
/system/netd/tests/ |
D | tun_interface.h | 36 int ifindex() const { return mIfIndex; } in ifindex() function
|
/system/netd/server/ |
D | NetworkController.cpp | 615 bool NetworkController::removeInterfaceAddress(unsigned ifindex, const char* address) { in removeInterfaceAddress() argument 620 ALOGE("Removing unknown address %s from ifindex %u", address, ifindex); in removeInterfaceAddress() 624 if (ifindices.erase(ifindex) > 0) { in removeInterfaceAddress() 631 ALOGE("No record of address %s on interface %u", address, ifindex); in removeInterfaceAddress() 635 if (mIfindexToLastNetId.find(ifindex) == mIfindexToLastNetId.end()) { in removeInterfaceAddress() 636 ALOGE("Interface index %u was never in a currently-connected netId", ifindex); in removeInterfaceAddress() 639 unsigned lastNetId = mIfindexToLastNetId[ifindex]; in removeInterfaceAddress()
|
D | RouteController.cpp | 360 uint32_t ifindex; in modifyIpRoute() local 377 ifindex = if_nametoindex(interface); in modifyIpRoute() 378 if (!ifindex) { in modifyIpRoute() 413 { &ifindex, interface != OIF_NONE ? sizeof(ifindex) : 0 }, in modifyIpRoute()
|
/system/bpf/progs/include/ |
D | bpf_helpers.h | 89 static int (*bpf_redirect)(__u32 ifindex, __u64 flags) = (void*)BPF_FUNC_redirect;
|
/system/core/libnetutils/ |
D | ifc_utils.c | 258 int ifindex, s, len, ret; in ifc_act_on_address() local 281 ifindex = if_nametoindex(name); in ifc_act_on_address() 282 if (ifindex == 0) { in ifc_act_on_address() 317 req.r.ifa_index = ifindex; in ifc_act_on_address()
|
/system/hardware/interfaces/net/netd/1.1/vts/functional/ |
D | VtsHalNetNetdV1_1TargetTest.cpp | 291 uint32_t table1 = 1000 + sTun1.ifindex(); in TEST_F() 292 uint32_t table2 = 1000 + sTun1.ifindex(); in TEST_F()
|
/system/connectivity/wificond/scanning/ |
D | scan_utils.cpp | 88 NL80211Attr<uint32_t> ifindex(NL80211_ATTR_IFINDEX, interface_index); in GetScanResult() local 89 get_scan.AddAttribute(ifindex); in GetScanResult()
|
/system/connectivity/wificond/net/ |
D | netlink_utils.cpp | 119 int ifindex = if_nametoindex(iface_name.c_str()); in GetWiphyIndex() local 120 get_wiphy.AddAttribute(NL80211Attr<uint32_t>(NL80211_ATTR_IFINDEX, ifindex)); in GetWiphyIndex()
|