commit | 579791dba57c312b32b3b08412a77f4fbd465b8a | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sat Dec 19 13:40:48 2015 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Wed Jan 06 15:32:04 2016 +0900 |
tree | e036c398d22627772633db808501ada685aa572f | |
parent | a5f7e58861cef7672474e10a14fee7ee7e3b3154 [diff] |
Improvements to sock_diag code. 1. Add a Dump convenience function that takes a request. 2. Add code to zero out uninitialized data in diag_msg. 3. Add more granular functions for constructing requests (e.g., from sockets) without executing dumps. 4. Rename the Get* functions that scan socket dumps (such as GetSockDiagForFd) to Find* to make it clear that they scan dumps instead of asking the kernel for a particular socket. Change-Id: I62ea60f888fe2dd50f5c5cf9dd680608a74097a3