summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2006-05-23 09:00:01 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2006-05-23 09:00:01 +0000
commit325b7d44124f57674dcaa4088e67238996a5a03b (patch)
treebbfb3034b35a7c2784691eaf49d235748bc608ab /include
parent62defdbdb365c325795b83845f266410cf7c1076 (diff)
Add a printflow plugin is similar to the PRINTPKT plugin, but for flows. It's
output is compatible with the SYSLOG and LOGEMU plugins. (Philip Craig)
Diffstat (limited to 'include')
-rw-r--r--include/ulogd/Makefile.am2
-rw-r--r--include/ulogd/printflow.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/include/ulogd/Makefile.am b/include/ulogd/Makefile.am
index 0933390..2a3a03d 100644
--- a/include/ulogd/Makefile.am
+++ b/include/ulogd/Makefile.am
@@ -1,2 +1,2 @@
-noinst_HEADERS = conffile.h db.h ipfix_protocol.h linuxlist.h ulogd.h printpkt.h
+noinst_HEADERS = conffile.h db.h ipfix_protocol.h linuxlist.h ulogd.h printpkt.h printflow.h
diff --git a/include/ulogd/printflow.h b/include/ulogd/printflow.h
new file mode 100644
index 0000000..7343a23
--- /dev/null
+++ b/include/ulogd/printflow.h
@@ -0,0 +1,9 @@
+#ifndef _PRINTFLOW_H
+#define _PRINTFLOW_H
+
+#define FLOW_IDS 10
+extern struct ulogd_key printflow_keys[FLOW_IDS];
+
+int printflow_print(struct ulogd_key *res, char *buf);
+
+#endif