#include <string.h>
#include "flow.h"
#include "flow_cache.h"
#include "flow_stat.h"
#include "flow_packet.h"
Go to the source code of this file.
Functions | |
int | flowstat_clear (FLOWSTATS *fsp) |
int | flowstat_print (FLOWSTATS *fsp) |
int | flowstat_increment (FLOWSTATS *fsp, int direction, time_t cur, u_int32_t bytes) |
int | flowstat_callback (FLOW_POSITION position, FLOW *flowp, int direction, time_t cur, FLOWPACKET *p) |
|
The callback for the flowstats processor
Definition at line 101 of file flow_stat.c. References FLOW_ADDITIONAL, FLOW_FIRST_BIDIRECTIONAL, FLOW_NEW, FLOW_SHUTDOWN, flowstat_increment(), GetIPv4Len(), and _FLOW::stats. Referenced by flow_callbacks(). |
|
Reinitialize the flowstats
Definition at line 21 of file flow_stat.c. Referenced by flow_init(). |
|
Definition at line 55 of file flow_stat.c. References _FLOWSTATS::bytes_recv, _FLOWSTATS::bytes_sent, _FLOWSTATS::first_packet, _FLOWSTATS::first_talker, flow_printf(), FROM_INITIATOR, FROM_RESPONDER, _FLOWSTATS::last_packet, _FLOWSTATS::last_talker, _FLOWSTATS::packets_recv, and _FLOWSTATS::packets_sent. Referenced by flowstat_callback(). |
|
Definition at line 33 of file flow_stat.c. References _FLOWSTATS::alerts_seen, _FLOWSTATS::bytes_recv, _FLOWSTATS::bytes_sent, _FLOWSTATS::first_packet, _FLOWSTATS::first_talker, _FLOWSTATS::flow_flags, flow_printf(), _FLOWSTATS::last_packet, _FLOWSTATS::last_talker, _FLOWSTATS::packets_recv, and _FLOWSTATS::packets_sent. |