[PATCH] netlink: add a basic netlink socket diag parser

JingPiao Chen chenjingpiao at gmail.com
Tue Jun 13 07:04:30 UTC 2017


On Tue, Jun 13, 2017 at 02:40:56AM +0300, Dmitry V. Levin wrote:
> On Mon, Jul 11, 2016 at 01:52:27PM +0000, Fabien Siron wrote:
>
[...]
> First of all, the change is too big.

[...]
> In cases like this an array of functions with the same signature would be
> a better choice than a switch statement where every case is a function
call.
>
> I've pushed 3 commits to ldv/netlink that demonstrate my idea of netlink
> family specific payload decoders, please have a look.

Ok, I will update my code as soon as possible and send to mailing list.

--
JingPiao Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170613/e668809d/attachment.html>


More information about the Strace-devel mailing list