summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_conntrack
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-10-31 04:20:58 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-10-31 04:20:58 +0000
commit837747610f4c8046889aacd3f29f1f63049015cc (patch)
tree70230f11e831a38745c4863b5235585a53e8a0f4 /include/libnetfilter_conntrack
parentf03dacaf6b7afb221a779cdc3ad6953a6aa770d7 (diff)
Special thanks to Deti Fiegl from the Leibniz Supercomputing Centre in Munich, Germany for providing the "fast" hardware to reproduce spurious bugs ;)
List of changes: o Replace misleading flag NFCT_ANY_GROUP by NFCT_ALL_GROUPS o Update test file to use NFCT_ALL_GROUPS o Add missing check of CTA_PROTOINFO_TCP that resulted in a segfault in conjuction with events. o Fix ICMP conntracks output o Add missing prototype definition of nfct_default_expect_display_id in libnetfilter_conntrack.h
Diffstat (limited to 'include/libnetfilter_conntrack')
-rw-r--r--include/libnetfilter_conntrack/libnetfilter_conntrack.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/libnetfilter_conntrack/libnetfilter_conntrack.h b/include/libnetfilter_conntrack/libnetfilter_conntrack.h
index 71afa03..0c06fa6 100644
--- a/include/libnetfilter_conntrack/libnetfilter_conntrack.h
+++ b/include/libnetfilter_conntrack/libnetfilter_conntrack.h
@@ -13,7 +13,7 @@
#include <linux/netfilter/nfnetlink_conntrack.h>
#include <libnfnetlink/libnfnetlink.h>
-#define LIBNETFILTER_CONNTRACK_VERSION "0.2.2"
+#define LIBNETFILTER_CONNTRACK_VERSION "0.2.3"
enum {
CONNTRACK = NFNL_SUBSYS_CTNETLINK,
@@ -27,10 +27,12 @@ enum {
#define NFCT_ANY_ID 0
/*
- * Default flag that is passed to nfct_open(), subscribe
- * to all possible groups
+ * Subscribe to all possible netlink groups. Use this
+ * flag in case that you want to catch up all the possible
+ * events. Do not use this flag for dumping or any other
+ * similar operation.
*/
-#define NFCT_ANY_GROUP ~0U
+#define NFCT_ALL_GROUPS ~0U
union nfct_l4 {
/* Add other protocols here. */
@@ -237,6 +239,7 @@ extern void nfct_unregister_callback(struct nfct_handle *cth);
extern int nfct_default_conntrack_display(void *arg, unsigned int, int);
extern int nfct_default_conntrack_display_id(void *arg, unsigned int, int);
extern int nfct_default_expect_display(void *arg, unsigned int, int);
+extern int nfct_default_expect_display_id(void *arg, unsigned int, int);
/*
* [Create|update|get|destroy] conntracks