On Sun, Jun 11, 2017 at 04:42:27PM +0900, Masatake YAMATO wrote: > Now I'm working on decoding the communication on Netlink GENERIC > protocol. For the task, many lines of receive_responses can be reused > with two minor modifications. This is the first one. > > receive_responses was written for decoding the response from kernel of > SOCK_DIAG_BY_FAMILY communication; other communications were ignored. > This change makes the type of communication a parameter. So the function > can be used for another type of communication. > > * socketutils.c (receive_responses): add a new parameter > `expected_msg_type' to handle other type than SOCK_DIAG_BY_FAMILY > communication.
Edited the commit message and applied, thanks. -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel