diff options
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> | 2005-12-15 14:07:53 +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> | 2005-12-15 14:07:53 +0000 |
commit | 8564345b40c76236aa170980faee310ca742626f (patch) | |
tree | 239e91b40d525c8aab9667dd8ec8886b3970543f /include | |
parent | befa445d01e0d7ef2f0cf5984fbbc58f9a87fa70 (diff) |
make ipfix output plugin compile (not yet functional)
Diffstat (limited to 'include')
-rw-r--r-- | include/ulogd/ipfix_protocol.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/ulogd/ipfix_protocol.h b/include/ulogd/ipfix_protocol.h index 5754847..0974ebf 100644 --- a/include/ulogd/ipfix_protocol.h +++ b/include/ulogd/ipfix_protocol.h @@ -2,12 +2,12 @@ #define _IPFIX_PROTOCOL_H /* This header file defines structures for the IPFIX protocol in accordance with - * draft-ietf-ipfix-protocol-03.txt */ + * draft-ietf-ipfix-protocol-19.txt */ #define IPFIX_VENDOR_IETF 0x00000000 #define IPFIX_VENDOR_NETFILTER 0x23424223 -/* Section 8.1 */ +/* Section 3.1 */ struct ipfix_msg_hdr { u_int16_t version; u_int16_t length; @@ -16,7 +16,13 @@ struct ipfix_msg_hdr { u_int32_t source_id; }; -/* Section 8.2 */ +/* Section 3.4.1 */ +struct ipfix_templ_rec_hdr { + u_int16_t templ_id; + u_int16_t field_count; +}; + +/* Section 3.2 */ struct ipfix_ietf_field { u_int16_t type; u_int16_t length; |