Skip to contentSkip to conversation

examples: add for mnl_nlmsg_batch_reset_buffer

PATCH In review Ken-ichirou MATSUZAWA 1 participant 1 message Dec 7, 2013 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 9/9 examples: add for mnl_nlmsg_batch_reset_buffer

---
 examples/mmap/min/Makefile.am         |   6 +-
 examples/mmap/min/nfct-create-batch.c | 248 ++++++++++++++++++++++++++++++++++
 2 files changed, 253 insertions(+), 1 deletion(-)
 create mode 100644 examples/mmap/min/nfct-create-batch.c
examples/mmap/min/Makefile.am +5 -1
index 5b172c2..b053515 100644
@@ -5,7 +5,8 @@ check_PROGRAMS = nf-log \
 		 nfct-dump \
 		 rtnl-addr-dump \
 		 rtnl-link-dump \
-		 rtnl-route-dump
+		 rtnl-route-dump \
+		 nfct-create-batch
 
 nf_log_SOURCES = nf-log.c
 nf_log_LDADD = ../../../src/libmnl.la
@@ -24,3 +25,6 @@ rtnl_link_dump_LDADD = ../../../src/libmnl.la
 
 rtnl_route_dump_SOURCES = rtnl-route-dump.c
 rtnl_route_dump_LDADD = ../../../src/libmnl.la
+
+nfct_create_batch_SOURCES = nfct-create-batch.c
+nfct_create_batch_LDADD = ../../../src/libmnl.la
examples/mmap/min/nfct-create-batch.c new file +248 -0

248 lines not on this page · raw message

Signature · 1 line
1.8.4.rc3