Go to the source code of this file.
Defines | |
#define | SF_MAX_PKT_LEN 4500 |
#define | SF_MAX_PORT 1024 |
Typedefs | |
typedef _portflow | PORTFLOW |
typedef _icmpflow | ICMPFLOW |
typedef _sfflow | SFFLOW |
typedef _sfflow_stats | SFFLOW_STATS |
Functions | |
int | InitFlowStats (SFFLOW *sfFlow) |
int | UpdateFlowStats (SFFLOW *sfFlow, unsigned char *pucBuffer, int len, int iRebuiltPkt) |
int | ProcessFlowStats (SFFLOW *sfFlow) |
int | UpdateUDPFlowStatsEx (int sport, int dport, int len) |
int | UpdateTCPFlowStatsEx (int sport, int dport, int len) |
int | UpdateICMPFlowStatsEx (int type, int len) |
|
Definition at line 30 of file perf-flow.h. Referenced by DisplayFlowStats(), InitFlowStats(), ProcessFlowStats(), and UpdateFlowStats(). |
|
Definition at line 31 of file perf-flow.h. Referenced by DisplayFlowStats(), InitFlowStats(), ProcessFlowStats(), UpdateTCPFlowStats(), and UpdateUDPFlowStats(). |
|
|
|
|
|
|
|
|
|
Definition at line 68 of file perf-flow.c. References _sfflow::byteTotal, FatalError(), memset, _sfflow::pktLenCnt, _sfflow::pktTotal, _sfflow::portTcpDst, _sfflow::portTcpHigh, _sfflow::portTcpSrc, _sfflow::portTcpTotal, _sfflow::portUdpDst, _sfflow::portUdpHigh, _sfflow::portUdpSrc, _sfflow::portUdpTotal, SF_MAX_PKT_LEN, SF_MAX_PORT, _sfflow::typeIcmp, _sfflow::typeIcmpTotal, and UINT64. Referenced by InitPerfStats(). |
|
Definition at line 224 of file perf-flow.c. References _sfflow::byteTotal, DisplayFlowStats(), memset, _sfflow::pktLenCnt, _sfflow::pktTotal, _sfflow::portTcpDst, _sfflow::portTcpHigh, _sfflow::portTcpSrc, _sfflow::portTcpTotal, _sfflow::portUdpDst, _sfflow::portUdpHigh, _sfflow::portUdpSrc, _sfflow::portUdpTotal, SF_MAX_PKT_LEN, SF_MAX_PORT, _sfflow::typeIcmp, _sfflow::typeIcmpTotal, and UINT64. Referenced by ProcessPerfStats(). |
|
Definition at line 205 of file perf-flow.c. References _sfflow::byteTotal, _sfflow::pktLenCnt, _sfflow::pktTotal, and SF_MAX_PKT_LEN. Referenced by UpdatePerfStats(). |
|
Definition at line 192 of file perf-flow.c. References _SFPERF::iPerfFlags, sfGetFlowPtr(), sfPerf, SFPERF_FLOW, and UpdateICMPFlowStats(). Referenced by ProcessPerfMonitor(). |
|
Definition at line 141 of file perf-flow.c. References _SFPERF::iPerfFlags, sfGetFlowPtr(), sfPerf, SFPERF_FLOW, and UpdateTCPFlowStats(). Referenced by ProcessPerfMonitor(). |
|
Definition at line 172 of file perf-flow.c. References _SFPERF::iPerfFlags, sfGetFlowPtr(), sfPerf, SFPERF_FLOW, and UpdateUDPFlowStats(). Referenced by ProcessPerfMonitor(). |