Home
last modified time | relevance | path

Searched refs:dw (Results 1 – 17 of 17) sorted by relevance

/system/netd/server/
DTrafficController.cpp878 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 …]
DTcpSocketMonitor.cpp78 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 …]
DClatdController.cpp621 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 …]
DNetworkController.cpp697 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 …]
DTetherController.cpp1205 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 …]
DClatdController.h53 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);
DNetdNativeService.cpp201 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 …]
DTetherController.h174 void dump(netdutils::DumpWriter& dw);
175 void dumpIfaces(netdutils::DumpWriter& dw);
176 void dumpBpf(netdutils::DumpWriter& dw);
DProcess.h54 void dump(netdutils::DumpWriter& dw);
DProcess.cpp124 void dump(DumpWriter& dw) { in dump() argument
139 dw.println(out.str()); in dump()
DTcpSocketMonitor.h80 void dump(netdutils::DumpWriter& dw);
DNetworkController.h144 void dump(netdutils::DumpWriter& dw);
DTrafficController.h106 void dump(netdutils::DumpWriter& dw, bool verbose) EXCLUDES(mMutex);
DXfrmController.cpp1623 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()
DXfrmController.h263 void dump(netdutils::DumpWriter& dw);
/system/netd/libnetdutils/include/netdutils/
DDumpWriter.h53 explicit ScopedIndent(DumpWriter& dw) : mDw(dw) { mDw.incIndent(); } in ScopedIndent() argument
/system/memory/libmeminfo/testdata1/
Dsmaps2853 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