On Tue, Aug 29, 2017 at 03:45:17PM +0800, JingPiao Chen wrote: > * defs.h (routing_types): New xlat prototype. > * rtnl_neigh.c (decode_ndmsg): Fix ndm_type decode. > * xlat/nda_types.in: Remove it. > * tests/netlink_route.c (test_rtnl_neigh): Update the test. > * tests/nlattr_ndmsg.c (init_ndmsg, print_ndmsg): Likewise. On Tue, Aug 29, 2017 at 03:45:18PM +0800, JingPiao Chen wrote: > * configure.ac (AC_CHECK_FUNCS): Add be64toh. > (AC_CHECK_TYPES): Check for struct fib_rule_uid_range > in <linux/fib_rules.h>. > * nlattr.c: Include <endian.h>. > (decode_nla_be64): New function. > * nlattr.h (decode_nla_be64): New prototype. > * rtnl_rule.c (decode_rule_addr, > decode_fib_rule_uid_range): New functions. > (fib_rule_hdr_nla_decoders): New array. > (decode_fib_rule_hdr): Use it. On Tue, Aug 29, 2017 at 03:45:19PM +0800, JingPiao Chen wrote: > * tests/nlattr_fib_rule_hdr.c: Include <inttypes.h>. > (FRA_TUN_ID, FRA_UID_RANGE): New macros. > (main): Check decoding of FRA_DST, FRA_UID_RANGE and FRA_TUN_ID. On Tue, Aug 29, 2017 at 03:45:20PM +0800, JingPiao Chen wrote: > * nlattr.c: Include <netinet/in.h> and <arpa/inet.h>. > (decode_nla_be16): New function. > * nlattr.h (decode_nla_be16): New prototype. > * rtnl_neigh.c (decode_neigh_addr, > decode_nda_cacheinfo): New functions. > (ndmsg_nla_decoders): New array. > (decode_ndmsg): Use it. On Tue, Aug 29, 2017 at 03:45:21PM +0800, JingPiao Chen wrote: > * tests/nlattr_ndmsg.c: Include <netinet/in.h> and <arpa/inet.h>. > (NDA_PORT): New macro. > (main): Check decoding of NDA_DST, NDA_CACHEINFO and NDA_PORT. On Tue, Aug 29, 2017 at 03:45:22PM +0800, JingPiao Chen wrote: > * rtnl_netconf.c (netconfmsg_nla_decoders): New array. > (decode_netconfmsg): Use it. On Tue, Aug 29, 2017 at 03:45:23PM +0800, JingPiao Chen wrote: > * rtnl_nsid.c (rtgenmsg_nla_decoders): New array. > (decode_rtgenmsg): Use it.
Applied, thanks! -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel