#include "config.h"
#include "sfprocpidstats.h"
#include <time.h>
Go to the source code of this file.
Defines | |
#define | MAX_PERF_STATS 1 |
Typedefs | |
typedef _PKTSTATS | PKTSTATS |
typedef _SFBASE | SFBASE |
typedef _SYSTIMES | SYSTIMES |
typedef _SFBASE_STATS | SFBASE_STATS |
Functions | |
int | InitBaseStats (SFBASE *sfBase) |
int | UpdateBaseStats (SFBASE *sfBase, int len, int iRebuiltPkt) |
int | ProcessBaseStats (SFBASE *sfBase, int console, int file, FILE *fh) |
int | AddStreamSession (SFBASE *sfBase) |
int | RemoveStreamSession (SFBASE *sfBase) |
void | UpdateWireStats (SFBASE *sfBase, int len) |
void | UpdateIPFragStats (SFBASE *sfBase, int len) |
void | UpdateIPReassStats (SFBASE *sfBase, int len) |
|
Definition at line 37 of file perf-base.h. Referenced by CalculateBasePerfStats(), DisplayBasePerfStatsConsole(), GetMbitsPerSecond(), GetPacketsPerSecond(), and sfSetPerformanceStatistics(). |
|
|
|
|
|
|
|
|
|
Definition at line 315 of file perf-base.c. References _SFBASE::iMaxSessions, _SFBASE::iNewSessions, and _SFBASE::iTotalSessions. Referenced by ReassembleStream4(). |
|
|
Definition at line 362 of file perf-base.c. References CalculateBasePerfStats(), DisplayBasePerfStatsConsole(), _SFBASE::iFlags, and LogBasePerfStats(). Referenced by ProcessPerfStats(). |
|
Definition at line 340 of file perf-base.c. References _SFBASE::iDeletedSessions, and _SFBASE::iTotalSessions. Referenced by DeleteSession(). |
|
Definition at line 210 of file perf-base.c. References _SFBASE::total_bytes, _SFBASE::total_packets, _SFBASE::total_rebuilt_bytes, and _SFBASE::total_rebuilt_packets. Referenced by UpdatePerfStats(). |
|
Definition at line 269 of file perf-base.c. References _SFBASE::total_ipfragmented_bytes, _SFBASE::total_ipfragmented_packets, and _SFBASE::total_wire_bytes. Referenced by Frag2Defrag(), and Frag3Defrag(). |
|
Definition at line 292 of file perf-base.c. References _SFBASE::total_ipreassembled_bytes, _SFBASE::total_ipreassembled_packets, and _SFBASE::total_wire_bytes. Referenced by Frag3Rebuild(), and RebuildFrag(). |
|
Definition at line 247 of file perf-base.c. References _SFBASE::total_wire_bytes, and _SFBASE::total_wire_packets. Referenced by PcapProcessPacket(). |