Home
last modified time | relevance | path

Searched refs:IfaceValue (Results 1 – 7 of 7) sorted by relevance

/system/netd/libnetdbpf/include/netdbpf/
DBpfNetworkStats.h64 const BpfMap<uint32_t, IfaceValue>& ifaceNameMap);
69 const BpfMap<uint32_t, IfaceValue>& ifaceMap);
74 int getIfaceNameFromMap(const BpfMap<uint32_t, IfaceValue>& ifaceMap, in getIfaceNameFromMap()
82 strlcpy(ifname, iface.value().name, sizeof(IfaceValue)); in getIfaceNameFromMap()
112 const BpfMap<uint32_t, IfaceValue>& ifaceMap);
Dbpf_shared.h56 } IfaceValue; typedef
57 STRUCT_SIZE(IfaceValue, 16);
/system/netd/libnetdbpf/
DBpfNetworkStats.cpp73 const BpfMap<uint32_t, IfaceValue>& ifaceNameMap) { in bpfGetIfaceStatsInternal()
110 BpfMapRO<uint32_t, IfaceValue> ifaceIndexNameMap(IFACE_INDEX_NAME_MAP_PATH); in bpfGetIfaceStats()
136 const BpfMap<uint32_t, IfaceValue>& ifaceMap) { in parseBpfNetworkStatsDetailInternal()
189 BpfMapRO<uint32_t, IfaceValue> ifaceIndexNameMap(IFACE_INDEX_NAME_MAP_PATH); in parseBpfNetworkStatsDetail()
236 const BpfMap<uint32_t, IfaceValue>& ifaceMap) { in parseBpfNetworkStatsDevInternal()
266 BpfMapRO<uint32_t, IfaceValue> ifaceIndexNameMap(IFACE_INDEX_NAME_MAP_PATH); in parseBpfNetworkStatsDev()
DBpfNetworkStatsTest.cpp77 BpfMap<uint32_t, IfaceValue> mFakeIfaceIndexNameMap;
92 mFakeIfaceIndexNameMap = BpfMap<uint32_t, IfaceValue>(BPF_MAP_TYPE_HASH, TEST_MAP_SIZE, 0); in SetUp()
114 IfaceValue iface; in updateIfaceMap()
/system/netd/server/
DTrafficController.cpp482 IfaceValue iface; in addInterface()
488 strlcpy(iface.name, name, sizeof(IfaceValue)); in addInterface()
918 ifname = IfaceValue{"unknown"}; in dump()
939 const auto printIfaceNameInfo = [&dw](const uint32_t& key, const IfaceValue& value, in dump()
940 const BpfMap<uint32_t, IfaceValue>&) { in dump() argument
958 ifname = IfaceValue{"unknown"}; in dump()
DTrafficController.h166 BpfMap<uint32_t, IfaceValue> mIfaceIndexNameMap;
/system/netd/bpf_progs/
Dnetd.c65 DEFINE_BPF_MAP_GRO(iface_index_name_map, HASH, uint32_t, IfaceValue, IFACE_INDEX_NAME_MAP_SIZE, in DEFINE_BPF_MAP_GRO()