Re: [PATCH v4 3/6] Add a general netlink socket parser

2016-06-19 Thread Dmitry V. Levin
On Fri, Jun 17, 2016 at 04:29:55PM +, Fabien Siron wrote: [...] > --- a/io.c > +++ b/io.c > @@ -89,6 +89,11 @@ print_iovec(struct tcb *tcp, void *elem_buf, size_t > elem_size, void *data) > printstr(tcp, iov[0], len); > break; > } > +

[PATCH v4 3/6] Add a general netlink socket parser

2016-06-17 Thread Fabien Siron
This commit introduces a general socket netlink parser which prints the header and a string for the remaining part of the buffer. It doesn't handle all the netlink flags and types because the parser needs more information. It will be done soon. * net.c (printsock): Return family. (do_msghdr): Call