examples: add for mmap nonmin2
PATCH 7/9 examples: add for mmap nonmin2
Signed-off-by Ken-ichirou MATSUZAWA <[email protected]>
--- configure.ac | 2 +- examples/mmap/Makefile.am | 2 +- examples/mmap/nonmin2/Makefile.am | 19 ++ examples/mmap/nonmin2/nf-log.c | 269 ++++++++++++++++++++++ examples/mmap/nonmin2/nfct-dump.c | 333 ++++++++++++++++++++++++++++ examples/mmap/nonmin2/rtnl-addr-dump.c | 158 +++++++++++++ examples/mmap/nonmin2/rtnl-route-dump.c | 381 ++++++++++++++++++++++++++++++++ 7 files changed, 1162 insertions(+), 2 deletions(-) create mode 100644 examples/mmap/nonmin2/Makefile.am create mode 100644 examples/mmap/nonmin2/nf-log.c create mode 100644 examples/mmap/nonmin2/nfct-dump.c create mode 100644 examples/mmap/nonmin2/rtnl-addr-dump.c create mode 100644 examples/mmap/nonmin2/rtnl-route-dump.c
configure.ac +1 -1
@@ -27,5 +27,5 @@ regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \ -Wformat=2 -pipe" AC_SUBST([regular_CPPFLAGS]) AC_SUBST([regular_CFLAGS]) -AC_CONFIG_FILES([Makefile src/Makefile include/Makefile include/libmnl/Makefile include/linux/Makefile include/linux/netfilter/Makefile examples/Makefile examples/genl/Makefile examples/kobject/Makefile examples/netfilter/Makefile examples/rtnl/Makefile examples/mmap/Makefile examples/mmap/min/Makefile examples/mmap/nonmin1/Makefile libmnl.pc doxygen.cfg]) +AC_CONFIG_FILES([Makefile src/Makefile include/Makefile include/libmnl/Makefile include/linux/Makefile include/linux/netfilter/Makefile examples/Makefile examples/genl/Makefile examples/kobject/Makefile examples/netfilter/Makefile examples/rtnl/Makefile examples/mmap/Makefile examples/mmap/min/Makefile examples/mmap/nonmin1/Makefile examples/mmap/nonmin2/Makefile libmnl.pc doxygen.cfg]) AC_OUTPUT
examples/mmap/Makefile.am +1 -1
@@ -1 +1 @@ -SUBDIRS = min nonmin1 +SUBDIRS = min nonmin1 nonmin2
examples/mmap/nonmin2/Makefile.am new file +19 -0
@@ -0,0 +1,19 @@ +include $(top_srcdir)/Make_global.am + +check_PROGRAMS = nf-log \ + nfct-dump \ + rtnl-addr-dump \ + rtnl-route-dump + +nf_log_SOURCES = nf-log.c +nf_log_LDADD = ../../../src/libmnl.la + +nfct_dump_SOURCES = nfct-dump.c +nfct_dump_LDADD = ../../../src/libmnl.la + +rtnl_addr_dump_SOURCES = rtnl-addr-dump.c +rtnl_addr_dump_LDADD = ../../../src/libmnl.la + +rtnl_route_dump_SOURCES = rtnl-route-dump.c +rtnl_route_dump_LDADD = ../../../src/libmnl.la +
examples/mmap/nonmin2/nf-log.c new file +269 -0
269 lines not on this page · raw message
examples/mmap/nonmin2/nfct-dump.c new file +333 -0
333 lines not on this page · raw message
examples/mmap/nonmin2/rtnl-addr-dump.c new file +158 -0
158 lines not on this page · raw message
examples/mmap/nonmin2/rtnl-route-dump.c new file +381 -0
381 lines not on this page · raw message
Signature · 1 line
1.8.4.rc3