examples: add for mmap nonmin1
PATCH 5/9 examples: add for mmap nonmin1
Signed-off-by Ken-ichirou MATSUZAWA <[email protected]>
--- configure.ac | 2 +- examples/mmap/Makefile.am | 2 +- examples/mmap/nonmin1/Makefile.am | 18 ++ examples/mmap/nonmin1/nf-log.c | 250 +++++++++++++++++++++ examples/mmap/nonmin1/nfct-dump.c | 336 ++++++++++++++++++++++++++++ examples/mmap/nonmin1/rtnl-addr-dump.c | 159 +++++++++++++ examples/mmap/nonmin1/rtnl-route-dump.c | 383 ++++++++++++++++++++++++++++++++ 7 files changed, 1148 insertions(+), 2 deletions(-) create mode 100644 examples/mmap/nonmin1/Makefile.am create mode 100644 examples/mmap/nonmin1/nf-log.c create mode 100644 examples/mmap/nonmin1/nfct-dump.c create mode 100644 examples/mmap/nonmin1/rtnl-addr-dump.c create mode 100644 examples/mmap/nonmin1/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 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 libmnl.pc doxygen.cfg]) AC_OUTPUT
examples/mmap/Makefile.am +1 -1
@@ -1 +1 @@ -SUBDIRS = min +SUBDIRS = min nonmin1
examples/mmap/nonmin1/Makefile.am new file +18 -0
@@ -0,0 +1,18 @@ +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/nonmin1/nf-log.c new file +250 -0
250 lines not on this page · raw message
examples/mmap/nonmin1/nfct-dump.c new file +336 -0
336 lines not on this page · raw message
examples/mmap/nonmin1/rtnl-addr-dump.c new file +159 -0
159 lines not on this page · raw message
examples/mmap/nonmin1/rtnl-route-dump.c new file +383 -0
383 lines not on this page · raw message
Signature · 1 line
1.8.4.rc3