Skip to contentSkip to conversation

libnfnetlink_conntrack updates

PATCH New Pablo Neira 1 participant 1 message Sep 12, 2005

Subsystems (2)
lore
Share & tools
lore

Pablo Neira

author maintainer
#0 lore raw

PATCH 1/1 libnfnetlink_conntrack updates

Hi Harald,

Attached a patch that I forgot to send some time ago. The list of changes is the following:

- Add missing files: include/libnfnetlink_conntrack/Makefile.am and include/Makefile.am.
- Rename list_conntrack_handler to callback_handler, IMHO a proper name for such function.
- Use new nfnl_open prototype: Now it's got four parameters.
- Kill recurrent definition of the structure nfnlhdr: Actually this should go somewhere in libnfnetlink, later.
- Ignore utils subdirectory. It contains a testsuite that is currently broken. Yes I know you're aware of it ;) it's on the TODO list. But would it be worth to fix it? I use the conntrack tool to test libnfnetlink_conntrack.
- ctnl_error now has a nicer definition.

BTW, I'll move libct to libconntrack as soon (as soon I get some spare time) as you suggested in the TODO list.

--
Pablo

libnfnetlink_conntrack/Makefile.am +3 -0
Index: include/libnfnetlink_conntrack/Makefile.am
===================================================================
@@ -0,0 +1,3 @@
+
+pkginclude_HEADERS = libnfnetlink_conntrack.h
+
Makefile.am +3 -0
Index: include/Makefile.am
===================================================================
@@ -0,0 +1,3 @@
+
+SUBDIRS = libnfnetlink_conntrack
+
libnfnetlink_conntrack.c +47 -40

218 lines not on this page · raw message

Makefile.am +1 -1
Index: Makefile.am
===================================================================
@@ -1,7 +1,7 @@
 AUTOMAKE_OPTIONS = foreign
 
 INCLUDES =$(all_includes) -I$(top_srcdir)/include -I${KERNELDIR}
-SUBDIRS	= include src utils
+SUBDIRS	= include src
 LINKOPTS = -lnfnetlink
 
 man_MANS = #nfnetlink_conntrack.3 nfnetlink_conntrack.7