examples: add rtnl-link-can
PATCH 1/1 examples: add rtnl-link-can
I developed this application to test the Linux kernel series [1]. As described in the cover letter I could not use the iproute2 package since the microcontroller is without MMU.
On suggestion of the Linux CAN subsystem maintainer I decided to upstream it.
cc: Marc Kleine-Budde <[email protected]>
[1] https://marc.info/?l=linux-netdev&m=167999323611710&w=2
Signed-off-by Dario Binacchi <[email protected]>
--- examples/rtnl/Makefile.am | 4 + examples/rtnl/rtnl-link-can.c | 451 ++++++++++++++++++++++++++++++++++ 2 files changed, 455 insertions(+) create mode 100644 examples/rtnl/rtnl-link-can.c
examples/rtnl/Makefile.am +4 -0
@@ -2,6 +2,7 @@ include $(top_srcdir)/Make_global.am check_PROGRAMS = rtnl-addr-add \ rtnl-addr-dump \ + rtnl-link-can \ rtnl-link-dump rtnl-link-dump2 rtnl-link-dump3 \ rtnl-link-event \ rtnl-link-set \
@@ -13,6 +14,9 @@ check_PROGRAMS = rtnl-addr-add \ rtnl_addr_add_SOURCES = rtnl-addr-add.c rtnl_addr_add_LDADD = ../../src/libmnl.la +rtnl_link_can_SOURCES = rtnl-link-can.c +rtnl_link_can_LDADD = ../../src/libmnl.la + rtnl_addr_dump_SOURCES = rtnl-addr-dump.c rtnl_addr_dump_LDADD = ../../src/libmnl.la
examples/rtnl/rtnl-link-can.c new file +451 -0
451 lines not on this page · raw message
Signature · 1 line
2.32.0