[PATCH v2 1/8] netlink: add a basic socket diag parser of AF_NETLINK messages

Dmitry V. Levin ldv at altlinux.org
Fri Jun 16 00:48:46 UTC 2017


On Thu, Jun 15, 2017 at 12:30:47PM +0800, JingPiao Chen wrote:
> * linux/netlink_diag.h (NDIAG_SHOW_GROUPS)
> (NDIAG_SHOW_RING_CFG): New macros.

Corrected this to (NDIAG_SHOW_GROUPS, NDIAG_SHOW_RING_CFG).

> * netlink_sock_diag.c: Include <linux/netlink_diag.h>,
> "xlat/netlink_diag_show.h" and "xlat/netlink_states.h".
> (decode_netlink_diag_req, decode_netlink_diag_msg): New functions.
> (diag_decoders): Add AF_NETLINK.
> * xlat/netlink_diag_show.in: New file.
> * xlat/netlink_states.in: Likewise.

Applied, thanks!


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170616/d4349acf/attachment.bin>


More information about the Strace-devel mailing list