* tests/netlink_route.c: Include .
(TEST_NL_ROUTE): New macro.
(test_rtnl_link): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 61 +++
1 file changed, 61 insertions(+)
diff --git a/tests/netlink_route.c b/t
* netlink_route.h: New file.
* rtnl_link.c: Likewise.
* Makefile.am (strace_SOURCES): Add them.
* defs.h (arp_hardware_types, iffflags): New xlat prototypes.
* netlink_route.c: Include "netlink_route.h"
and .
(netlink_route_decoder_t): New typedef.
(route_decoders): New array.
(decode_netlink_route
* netlink_route.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* defs.h (decode_netlink_route): New prototype.
* netlink.c (netlink_decoders): Add NETLINK_ROUTE.
Co-authored-by: Fabien Siron
---
Makefile.am | 1 +
defs.h | 1 +
netlink.c | 1 +
netlink_route.c | 62 ++
* tests/netlink_kobject_uevent.c: New file.
* tests/gen_tests.in (netlink_kobject_uevent): New entry.
* tests/pure_executables.list: Add netlink_kobject_uevent.
* tests/.gitignore: Likewise.
---
sent a week ago.
tests/.gitignore | 1 +
tests/gen_tests.in | 1 +
tests/
Prepare for NETLINK_KOBJECT_UEVENT decode. The messages
of NETLINK_KOBJECT_UEVENT do not contain nlmsghdr.
* netlink.c (NL_FAMILY_*): Remove enum.
(get_fd_nl_family): Replace NL_FAMILY_ERROR with -1.
(decode_nlmsg_type): Correct the comment.
Skip family specific type decoders for type < NLMSG_MIN_
* netlink.c (decode_netlink): Call printstrn
when family == NETLINK_KOBJECT_UEVENT.
---
sent a week ago.
netlink.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/netlink.c b/netlink.c
index a853fbd..aaa3e07 100644
--- a/netlink.c
+++ b/netlink.c
@@ -438,6 +438,12 @@ decode_netlink(str
The side effect of #include "xlat/nl_route_types.h" is
RTM_* constants properly defined in that header file.
While netlink.c does not use these constants itself,
netlink_route.c is going to need them soon.
* defs.h (nl_route_types): New xlat prototype.
* netlink.c: Move inclusion of "xlat/nl_route
* tests/netlink_route.c: Include ,
include "test_netlink.h" instead of "netlink.h".
(test_rtnl_unspec): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 54 ++-
1 file changed, 53 insertions(+), 1 deletion(-)
Project: Advanced syscall information tool
Accomplishment:
1) Reduced complexity of main number of existing algorithms in
arch_list methods
2) Introduced push-back interface to simplify work with syscall
list(similarly to arch_service).
3) Fixed some other issues.
Unfortunately, help still is in
On Mon, 31 Jul 2017 06:19:23 +0200
Eugene Syromiatnikov wrote:
> On Fri, Jul 28, 2017 at 06:43:25PM +0300, Edgar Kaziakhmedov wrote:
> > From: Edgar Kaziakhmedov
> >
> > The 1.2 version of asinfo tool. The asinfo tool has the
> This version is not mentioned anywhere else.
>
> > following archi
10 matches
Mail list logo