path: root/include
diff options
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/>2006-01-12 12:18:21 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/>2006-01-12 12:18:21 +0000
commitab6d7ab0afc005ee2c1936c9190007235c22d839 (patch)
tree6b099c02e680b7414b08e092b066c46c423efcc7 /include
parentfee835ec1dcde8eb0c84d528239f7c80a94339bf (diff)
introduce NFCT input plugin hash table for start/end timestamps. Based on an
original patch by Christian Hentschel, amended like: 1) the hash table has to be per-instance, since [at least in the future] we can have nfnetlink messages routed from other machines over the network, thus every NFCT instance has to have it's own hash table. 2) Whether or not to use a preallocated table is now a configuration value, as is the number of buckets and max_entries 3) configure_nfct was not used in the struct ulogd_plugin.configure 4) don't put the hashtable buckets in BSS, but rather allocate them dynamically 5) allocate all ct_timestamps (in the preallocated case) at once, rather than malloc()ing each on its own. 6) use official IPFIX fields for flow start and flow end instead of private numbers 7) use llist instead of list (linuxlist.h adds an additional 'l') 8) add lots of TODO items 9) add IPFIX_NF_conntrack_id to header file
Diffstat (limited to 'include')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ulogd/ipfix_protocol.h b/include/ulogd/ipfix_protocol.h
index 0974ebf..5cb6086 100644
--- a/include/ulogd/ipfix_protocol.h
+++ b/include/ulogd/ipfix_protocol.h
@@ -221,6 +221,7 @@ enum {
IPFIX_NF_prefix = 3, /* string */
IPFIX_NF_mark = 4, /* u_int32_t */
IPFIX_NF_hook = 5, /* u_int8_t */
+ IPFIX_NF_conntrack_id = 6, /* u_int32_t */