![]() |
flowmon-export-ipfix
1.2.1
FlowMon IPFIX Export Plugin
|
Main code of the Flowmon IPFIX Export Plugin. More...
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <endian.h>
#include <errno.h>
#include <flowmonexp/plugin_export.h>
#include "flowmon-export-ipfix.h"
Go to the source code of this file.
Macros | |
#define | _GNU_SOURCE |
Functions | |
SET_PLUGIN_TYPE (PLUGIN_TYPE_EXPORT) | |
plugin_desc_t * | plugin_export_desc () |
Function returning plugin description. | |
void * | plugin_export_init (char *params, flow_record_getter_t *getter_list) |
Plugin initialization. | |
int | plugin_export_export (void *plugin_private, flow_record_t *record) |
Function called for each exported flow. | |
int | plugin_export_flush (void *plugin_private) |
Fuction called when all stored flows need to be exported. |
Main 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.c.
#define _GNU_SOURCE |
Definition at line 58 of file flowmon-export-ipfix.c.
SET_PLUGIN_TYPE | ( | PLUGIN_TYPE_EXPORT | ) |
This is an export plugin
plugin_desc_t* plugin_export_desc | ( | ) |
Function returning plugin description.
flowmon API function
Definition at line 1076 of file flowmon-export-ipfix.c.
void* plugin_export_init | ( | char * | params, |
flow_record_getter_t * | getter_list | ||
) |
Plugin initialization.
flowmon API function
params | Parameters from the command line |
getter_list | List of available getters |
Definition at line 1091 of file flowmon-export-ipfix.c.
int plugin_export_export | ( | void * | plugin_private, |
flow_record_t * | record | ||
) |
Function called for each exported flow.
flowmon API function
plugin_private | Plugin's private data |
record | Record to export |
Definition at line 1139 of file flowmon-export-ipfix.c.
int plugin_export_flush | ( | void * | plugin_private | ) |
Fuction called when all stored flows need to be exported.
flowmon API function
plugin_private | Plugin's private data |
Definition at line 1203 of file flowmon-export-ipfix.c.