![]() |
flowmon-export-ipfix
1.2.1
FlowMon IPFIX Export Plugin
|
Header for the code of the Flowmon IPFIX Export Plugin. More...
#include <time.h>
#include <netdb.h>
Go to the source code of this file.
Data Structures | |
struct | template_file_record_t |
Structure to hold one entry of template-file. More... | |
struct | template_t |
Structure to hold template record. More... | |
struct | plugin_private_t |
Structure that holds plugin internal data between function calls. More... | |
struct | ipfix_packet_t |
Structure of ipfix packet used by send functions. More... | |
struct | ipfix_header |
IPFIX header structure. More... | |
struct | ipfix_template_set_header |
Common IPFIX Set (header) structure. More... |
Macros | |
#define | MSG(format,...) {} |
#define | DEFAULT_TEMPLATE_FILE "/etc/flowmon/ipfix-template-file.txt" |
#define | FIRST_TEMPLATE_ID 258 |
#define | IPFIX_VERISON 10 |
#define | TEMPLATE_SET_ID 2 |
#define | PACKET_DATA_SIZE 1458 /* ethernet 14, ip 20, udp 8 */ |
#define | TEMPLATE_BUFFER_SIZE (PACKET_DATA_SIZE - IPFIX_HEADER_SIZE) |
#define | IPFIX_HEADER_SIZE 16 |
#define | IPFIX_SET_HEADER_SIZE 4 |
#define | RECONNECT_TIMEOUT 60 |
Typedefs | |
typedef struct template_t | template_t |
Structure to hold template record. | |
typedef struct ipfix_header | ipfix_header_t |
IPFIX header structure. | |
typedef struct ipfix_template_set_header | ipfix_template_set_header_t |
Common IPFIX Set (header) structure. |
Header for the code of the Flowmon IPFIX Export Plugin.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
This software is provided ``as is'', and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the company or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
Definition in file flowmon-export-ipfix.h.
#define MSG | ( | format, | |
... | |||
) | {} |
Definition at line 45 of file flowmon-export-ipfix.h.
#define DEFAULT_TEMPLATE_FILE "/etc/flowmon/ipfix-template-file.txt" |
Definition at line 48 of file flowmon-export-ipfix.h.
#define FIRST_TEMPLATE_ID 258 |
Definition at line 49 of file flowmon-export-ipfix.h.
#define IPFIX_VERISON 10 |
Definition at line 50 of file flowmon-export-ipfix.h.
#define TEMPLATE_SET_ID 2 |
Definition at line 51 of file flowmon-export-ipfix.h.
#define PACKET_DATA_SIZE 1458 /* ethernet 14, ip 20, udp 8 */ |
Definition at line 52 of file flowmon-export-ipfix.h.
#define TEMPLATE_BUFFER_SIZE (PACKET_DATA_SIZE - IPFIX_HEADER_SIZE) |
Definition at line 54 of file flowmon-export-ipfix.h.
#define IPFIX_HEADER_SIZE 16 |
Definition at line 55 of file flowmon-export-ipfix.h.
#define IPFIX_SET_HEADER_SIZE 4 |
Definition at line 56 of file flowmon-export-ipfix.h.
#define RECONNECT_TIMEOUT 60 |
Definition at line 57 of file flowmon-export-ipfix.h.
typedef struct template_t template_t |
Structure to hold template record.
typedef struct ipfix_header ipfix_header_t |
IPFIX header structure.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Version Number | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Export Time | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sequence Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Observation Domain ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
typedef struct ipfix_template_set_header ipfix_template_set_header_t |
Common IPFIX Set (header) structure.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Set ID | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+