Lines Matching refs:sockinfo
78 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()
209 if (sockinfo == nullptr || tcpinfo == nullptr || tcpinfoLen == 0 || mark.intValue == 0) { in poll()
212 updateSocketStats(now, mark, sockinfo, tcpinfo, tcpinfoLen); in poll()
279 const struct inet_diag_msg *sockinfo, in updateSocketStats() argument
294 const uint64_t cookie = (static_cast<uint64_t>(sockinfo->id.idiag_cookie[0]) << 32) in updateSocketStats()
295 | static_cast<uint64_t>(sockinfo->id.idiag_cookie[1]); in updateSocketStats()
302 .uid = sockinfo->idiag_uid, in updateSocketStats()