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