Re: [PATCH 1/4] netlink: decode netlink message ack flags

2017-07-18 Thread Dmitry V. Levin
On Mon, Jul 17, 2017 at 11:07:43PM +0800, JingPiao Chen wrote: > * netlink.c: Include "xlat/netlink_ack_flags.h". > (decode_nlmsg_flags): Decode ack flags when type == NLMSG_ERROR. > * xlat/netlink_ack_flags.in: New file. > * tests/netlink_protocol.c (test_ack_flags): New function, check this. > (m

[PATCH 1/4] netlink: decode netlink message ack flags

2017-07-17 Thread JingPiao Chen
* netlink.c: Include "xlat/netlink_ack_flags.h". (decode_nlmsg_flags): Decode ack flags when type == NLMSG_ERROR. * xlat/netlink_ack_flags.in: New file. * tests/netlink_protocol.c (test_ack_flags): New function, check this. (main): Use it. --- netlink.c | 5 + tests/netlink_pr