![]() |
flowmon-http-plugins
1.0
FlowMon HTTP Input/Process/export plugins
|
Plugin private structure. More...
Data Fields | |
int | counter |
flow_record_getter_t * | getters |
char * | conninfo |
PGconn * | conn |
PGresult * | res |
char * | buffer |
int | buffer_length |
int | buffer_used |
struct timespec | lastinsert |
int | insert_tick |
bool | export_all |
char * | dbname |
bool | first_record |
bool | empty_insert |
Plugin private structure.
Definition at line 79 of file flowmon-export-http_postgres.c.
int counter |
counter of packets processed
Definition at line 81 of file flowmon-export-http_postgres.c.
flow_record_getter_t* getters |
list of getters
Definition at line 84 of file flowmon-export-http_postgres.c.
char* conninfo |
String specifying connection parameters
Definition at line 87 of file flowmon-export-http_postgres.c.
PGconn* conn |
How many characters of conninfo are used
Definition at line 90 of file flowmon-export-http_postgres.c.
PGresult* res |
Object containing result of command sent into database
Definition at line 93 of file flowmon-export-http_postgres.c.
char* buffer |
Buffer used to store INSERT command for multiple rows
Definition at line 96 of file flowmon-export-http_postgres.c.
int buffer_length |
Length of buffer alocated
Definition at line 99 of file flowmon-export-http_postgres.c.
int buffer_used |
Length of buffer used
Definition at line 102 of file flowmon-export-http_postgres.c.
struct timespec lastinsert |
time of last insert
Definition at line 105 of file flowmon-export-http_postgres.c.
int insert_tick |
max time between two inserts
Definition at line 108 of file flowmon-export-http_postgres.c.
bool export_all |
export all or just HTTP flows?
Definition at line 111 of file flowmon-export-http_postgres.c.
char* dbname |
name of db
Definition at line 114 of file flowmon-export-http_postgres.c.
bool first_record |
is first values set in insert
Definition at line 117 of file flowmon-export-http_postgres.c.
bool empty_insert |
are there any tuples in insert command
Definition at line 120 of file flowmon-export-http_postgres.c.