/system/netd/server/ |
D | TrafficController.cpp | 878 void dumpBpfMap(const std::string& mapName, DumpWriter& dw, const std::string& header) { in dumpBpfMap() argument 879 dw.blankline(); in dumpBpfMap() 880 dw.println("%s:", mapName.c_str()); in dumpBpfMap() 882 dw.println(header); in dumpBpfMap() 888 void TrafficController::dump(DumpWriter& dw, bool verbose) { in dump() argument 890 ScopedIndent indentTop(dw); in dump() 891 dw.println("TrafficController"); in dump() 893 ScopedIndent indentPreBpfModule(dw); in dump() 894 dw.println("BPF module status: %s", mBpfEnabled ? "enabled" : "disabled"); in dump() 895 dw.println("BPF support level: %s", BpfLevelToString(getBpfSupportLevel()).c_str()); in dump() [all …]
|
D | TcpSocketMonitor.cpp | 78 static void tcpInfoPrint(DumpWriter &dw, Fwmark mark, const struct inet_diag_msg *sockinfo, in tcpInfoPrint() argument 85 dw.println( in tcpInfoPrint() 104 void TcpSocketMonitor::dump(DumpWriter& dw) { in dump() argument 107 dw.println("TcpSocketMonitor"); in dump() 108 ScopedIndent tcpSocketMonitorDetails(dw); in dump() 112 dw.println("running=%d, suspended=%d, last poll %lld ms ago", in dump() 116 dw.blankline(); in dump() 117 dw.println("Network stats:"); in dump() 122 dw.println("netId=%d sent=%d lost=%d rttMs=%gms sentAckDiff=%dms", in dump() 132 dw.blankline(); in dump() [all …]
|
D | ClatdController.cpp | 621 void ClatdController::dumpEgress(DumpWriter& dw) { in dumpEgress() argument 624 ScopedIndent bpfIndent(dw); in dumpEgress() 625 dw.println("BPF egress map: iif(iface) v4Addr -> v6Addr nat64Prefix oif(iface)"); in dumpEgress() 627 ScopedIndent bpfDetailIndent(dw); in dumpEgress() 628 const auto printClatMap = [&dw](const ClatEgressKey& key, const ClatEgressValue& value, in dumpEgress() 642 dw.println("%u(%s) %s -> %s %s/96 %u(%s) %s", key.iif, iifStr, local4Str, local6Str, in dumpEgress() 648 dw.println("Error printing BPF map: %s", res.error().message().c_str()); in dumpEgress() 652 void ClatdController::dumpIngress(DumpWriter& dw) { in dumpIngress() argument 655 ScopedIndent bpfIndent(dw); in dumpIngress() 656 dw.println("BPF ingress map: iif(iface) nat64Prefix v6Addr -> v4Addr oif(iface)"); in dumpIngress() [all …]
|
D | NetworkController.cpp | 697 void NetworkController::dump(DumpWriter& dw) { in dump() argument 700 dw.incIndent(); in dump() 701 dw.println("NetworkController"); in dump() 703 dw.incIndent(); in dump() 704 dw.println("Default network: %u", mDefaultNetId); in dump() 706 dw.blankline(); in dump() 707 dw.println("Networks:"); in dump() 708 dw.incIndent(); in dump() 711 dw.println(network->toString()); in dump() 713 dw.incIndent(); in dump() [all …]
|
D | TetherController.cpp | 1205 void TetherController::dumpIfaces(DumpWriter& dw) { in dumpIfaces() argument 1206 dw.println("Interface pairs:"); in dumpIfaces() 1208 ScopedIndent ifaceIndent(dw); in dumpIfaces() 1210 dw.println("%s -> %s %s", it.first.c_str(), it.second.iface.c_str(), in dumpIfaces() 1232 void TetherController::dumpBpf(DumpWriter& dw) { in dumpBpf() argument 1234 dw.println("BPF not supported"); in dumpBpf() 1238 dw.println("BPF ingress map: iif(iface) v6addr -> oif(iface) srcmac dstmac ethertype [pmtu]"); in dumpBpf() 1239 const auto printIngressMap = [&dw](const TetherIngressKey& key, const TetherIngressValue& value, in dumpBpf() 1250 dw.println("%u(%s) %s -> %u(%s) %s %s %04x [%u]", key.iif, iifStr, addr, value.oif, oifStr, in dumpBpf() 1256 dw.incIndent(); in dumpBpf() [all …]
|
D | ClatdController.h | 53 void dump(netdutils::DumpWriter& dw) EXCLUDES(mutex); 83 void dumpEgress(netdutils::DumpWriter& dw) REQUIRES(mutex); 84 void dumpIngress(netdutils::DumpWriter& dw) REQUIRES(mutex); 85 void dumpTrackers(netdutils::DumpWriter& dw) REQUIRES(mutex);
|
D | NetdNativeService.cpp | 201 DumpWriter dw(fd); in dump() local 204 dw.blankline(); in dump() 205 gCtls->tcpSocketMonitor.dump(dw); in dump() 206 dw.blankline(); in dump() 211 dw.blankline(); in dump() 212 gCtls->trafficCtrl.dump(dw, true); in dump() 213 dw.blankline(); in dump() 217 process::dump(dw); in dump() 218 dw.blankline(); in dump() 219 gCtls->netCtrl.dump(dw); in dump() [all …]
|
D | TetherController.h | 174 void dump(netdutils::DumpWriter& dw); 175 void dumpIfaces(netdutils::DumpWriter& dw); 176 void dumpBpf(netdutils::DumpWriter& dw);
|
D | Process.h | 54 void dump(netdutils::DumpWriter& dw);
|
D | Process.cpp | 124 void dump(DumpWriter& dw) { in dump() argument 139 dw.println(out.str()); in dump()
|
D | TcpSocketMonitor.h | 80 void dump(netdutils::DumpWriter& dw);
|
D | NetworkController.h | 144 void dump(netdutils::DumpWriter& dw);
|
D | TrafficController.h | 106 void dump(netdutils::DumpWriter& dw, bool verbose) EXCLUDES(mMutex);
|
D | XfrmController.cpp | 1623 void XfrmController::dump(DumpWriter& dw) { in dump() argument 1624 ScopedIndent indentForXfrmController(dw); in dump() 1625 dw.println("XfrmController"); in dump() 1627 ScopedIndent indentForXfrmISupport(dw); in dump() 1628 dw.println("XFRM-I support: %d", mIsXfrmIntfSupported); in dump()
|
D | XfrmController.h | 263 void dump(netdutils::DumpWriter& dw);
|
/system/netd/libnetdutils/include/netdutils/ |
D | DumpWriter.h | 53 explicit ScopedIndent(DumpWriter& dw) : mDw(dw) { mDw.incIndent(); } in ScopedIndent() argument
|
/system/memory/libmeminfo/testdata1/ |
D | smaps | 2853 VmFlags: rd mr mw me dw 2873 VmFlags: rd ex mr mw me dw 2893 VmFlags: rd mr mw me dw ac 56077 VmFlags: rd mr mw me dw 56097 VmFlags: rd ex mr mw me dw 56117 VmFlags: rd wr mr mw me dw ac 56137 VmFlags: rd mr mw me dw ac
|