commit | dee9481c70b8203ba8836dd53b947b65b526d3e4 | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Fri Jan 12 14:47:00 2018 +0900 |
committer | Hugo Benichi <hugobenichi@google.com> | Wed Jan 17 10:53:25 2018 +0900 |
tree | 3d1de8f3b9ef0a89ac3a0e1032e0d50fad736fb5 | |
parent | 838f0781ffb4fb75abf16acf0bd456dca3cc9aa1 [diff] |
TCP socket monitoring: minimum SockDiag primitives This patch adds a getSocketsInfo() method on the SockDiag class for dumping the struct tcp_info of all IPv4 and IPv6 sockets on the system, using the sock_diag netlink interface. Bug: 64147860 Test: - manual tests usint dumpsys command from follow-up patch - TODO: netd unit tests Change-Id: I3ad1726b4fde005c7b9506af96ed7bd79f527316