Home
last modified time | relevance | path

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

/system/netd/server/
DTcpSocketMonitor.cpp78 static void tcpInfoPrint(DumpWriter &dw, Fwmark mark, const struct inet_diag_msg *sockinfo, in tcpInfoPrint() argument
82 inet_ntop(sockinfo->idiag_family, &(sockinfo->id.idiag_src), saddr, sizeof(saddr)); in tcpInfoPrint()
83 inet_ntop(sockinfo->idiag_family, &(sockinfo->id.idiag_dst), daddr, sizeof(daddr)); in tcpInfoPrint()
89 sockinfo->idiag_uid, in tcpInfoPrint()
93 ntohs(sockinfo->id.idiag_sport), in tcpInfoPrint()
94 ntohs(sockinfo->id.idiag_dport), in tcpInfoPrint()
95 getTcpStateName(sockinfo->idiag_state), sockinfo->idiag_state, in tcpInfoPrint()
144 const auto tcpInfoReader = [&dw](Fwmark mark, const struct inet_diag_msg *sockinfo, in dump()
146 tcpInfoPrint(dw, mark, sockinfo, tcpinfo, tcpinfoLen); in dump()
206 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,