Fabien Siron 2850f745ca Add a general netlink socket parser
Introduce 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 yet because the parser needs more
information, this will be implemented later.

* net.c (decode_sockbuf): New function.
(SYS_FUNC(send), SYS_FUNC(sendto), SYS_FUNC(recv), SYS_FUNC(recvfrom)):
Use it instead of printstr.
* msghdr.c (print_msghdr): Pass IOV_DECODE_NETLINK to tprint_iov_upto()
for netlink sockets.
* netlink.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* defs.h (decode_netlink, getfdproto): New prototypes.
(iov_decode): Add IOV_DECODER_NETLINK.
* io.c (print_iovec): Use decode_netlink().
* util.c (getfdproto): Remove static keyword.
* xlat/netlink_flags.in: New file.
* xlat/netlink_types.in: New file.
2016-07-07 09:46:51 +00:00
..
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2015-02-19 20:47:36 +00:00
2015-02-19 20:47:36 +00:00
2015-02-19 20:47:36 +00:00
2015-02-06 01:23:05 +00:00
2015-07-27 15:27:43 +00:00
2015-02-06 01:23:05 +00:00
2015-02-06 01:23:05 +00:00
2015-02-06 01:23:05 +00:00
2015-02-06 01:23:05 +00:00
2015-02-06 01:23:05 +00:00
2015-02-06 01:23:05 +00:00
2015-02-06 01:23:05 +00:00
2015-02-08 02:07:22 +00:00
2015-02-08 02:07:22 +00:00
2014-05-30 21:40:03 +00:00
2015-02-19 01:54:38 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2016-03-29 00:51:28 +00:00
2014-05-30 21:40:03 +00:00
2016-03-14 21:53:19 +00:00
2016-07-05 21:59:36 +00:00
2015-02-22 02:29:54 +00:00
2015-02-22 02:29:54 +00:00
2015-02-22 02:29:54 +00:00
2015-09-14 16:20:25 +00:00
2015-02-22 02:29:54 +00:00
2015-02-22 02:29:54 +00:00
2015-02-22 02:29:54 +00:00
2015-09-14 16:04:17 +00:00
2015-02-19 21:55:09 +00:00
2015-02-19 21:55:09 +00:00
2015-02-19 21:55:09 +00:00
2015-02-19 21:55:09 +00:00
2014-05-30 21:40:03 +00:00
2015-11-26 01:37:34 +00:00
2016-07-07 09:39:37 +00:00
2016-06-06 18:07:04 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2015-09-14 15:29:41 +00:00
2015-02-19 21:28:59 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2015-11-22 23:10:12 +00:00
2015-02-19 21:29:01 +00:00
2015-02-19 21:29:01 +00:00
2015-02-19 21:42:31 +00:00
2015-02-19 21:42:31 +00:00
2015-02-19 21:42:31 +00:00
2016-07-05 22:39:09 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2016-02-14 00:36:38 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2015-06-16 10:55:19 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2016-05-18 09:26:01 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-11-20 02:21:57 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2015-02-19 01:54:38 +00:00
2015-02-19 01:54:38 +00:00
2015-02-19 01:54:38 +00:00
2015-02-19 01:54:38 +00:00
2015-02-19 01:54:38 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2016-01-12 03:07:39 +00:00
2016-03-29 00:51:28 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2016-07-04 22:37:38 +00:00
2014-12-11 23:33:02 +00:00
2015-09-14 13:21:01 +00:00
2015-02-19 01:54:38 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2015-03-27 22:51:51 +00:00
2015-03-27 22:51:51 +00:00
2015-03-27 22:51:51 +00:00
2015-03-27 22:51:51 +00:00
2015-03-27 22:51:51 +00:00
2015-03-27 22:51:51 +00:00
2015-03-27 22:51:51 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2016-03-29 00:17:19 +00:00
2015-03-27 22:51:51 +00:00
2015-03-27 22:51:51 +00:00
2014-05-30 21:40:03 +00:00
2016-05-18 09:26:01 +00:00
2016-02-14 00:36:38 +00:00
2014-05-30 21:40:03 +00:00
2016-03-29 00:20:37 +00:00
2015-09-14 15:46:47 +00:00
2014-05-30 21:40:03 +00:00
2015-09-14 17:27:07 +00:00
2015-09-14 15:50:44 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2016-06-06 18:07:04 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2016-05-10 10:54:54 +00:00
2016-05-10 10:54:54 +00:00
2016-05-10 10:54:54 +00:00
2015-12-07 00:38:38 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00