Home
last modified time | relevance | path

Searched refs:sockinfo (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DTcpSocketMonitor.cpp77 static void tcpInfoPrint(DumpWriter &dw, Fwmark mark, const struct inet_diag_msg *sockinfo, in tcpInfoPrint() argument
81 inet_ntop(sockinfo->idiag_family, &(sockinfo->id.idiag_src), saddr, sizeof(saddr)); in tcpInfoPrint()
82 inet_ntop(sockinfo->idiag_family, &(sockinfo->id.idiag_dst), daddr, sizeof(daddr)); in tcpInfoPrint()
88 sockinfo->idiag_uid, in tcpInfoPrint()
92 ntohs(sockinfo->id.idiag_sport), in tcpInfoPrint()
93 ntohs(sockinfo->id.idiag_dport), in tcpInfoPrint()
94 getTcpStateName(sockinfo->idiag_state), sockinfo->idiag_state, in tcpInfoPrint()
143 const auto tcpInfoReader = [&dw](Fwmark mark, const struct inet_diag_msg *sockinfo, in dump()
145 tcpInfoPrint(dw, mark, sockinfo, tcpinfo, tcpinfoLen); in dump()
205 const auto tcpInfoReader = [this, now](Fwmark mark, const struct inet_diag_msg *sockinfo, in poll()
[all …]
DTcpSocketMonitor.h89 void updateSocketStats(time_point now, Fwmark mark, const struct inet_diag_msg *sockinfo,