00001 #ifndef _FLOW_STAT_H 00002 #define _FLOW_STAT_H 00003 00004 #include <stdio.h> 00005 #include <time.h> 00006 00007 #include "flow.h" 00008 00009 int flowstat_clear(FLOWSTATS *fsp); 00010 int flowstat_print(FLOWSTATS *fsp); 00011 int flowstat_increment(FLOWSTATS *fsp, int direction, time_t cur, u_int32_t bytes); 00012 int flowstat_callback(FLOW_POSITION position, FLOW *flow, int direction, time_t cur, FLOWPACKET *p); 00013 #endif /* _FLOW_STAT_H */