#include <time.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "snort.h"
#include "util.h"
Go to the source code of this file.
Functions | |
int | DisplayFlowStats (SFFLOW_STATS *sfFlowStats) |
SFFLOW * | sfGetFlowPtr () |
int | InitFlowStats (SFFLOW *sfFlow) |
int | UpdateTCPFlowStats (SFFLOW *sfFlow, int sport, int dport, int len) |
int | UpdateTCPFlowStatsEx (int sport, int dport, int len) |
int | UpdateUDPFlowStats (SFFLOW *sfFlow, int sport, int dport, int len) |
int | UpdateUDPFlowStatsEx (int sport, int dport, int len) |
int | UpdateICMPFlowStats (SFFLOW *sfFlow, int type, int len) |
int | UpdateICMPFlowStatsEx (int type, int len) |
int | UpdateFlowStats (SFFLOW *sfFlow, unsigned char *pucPacket, int len, int iRebuiltPkt) |
int | ProcessFlowStats (SFFLOW *sfFlow) |
|
|
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 63 of file perf-flow.c. References _SFPERF::sfFlow, and sfPerf. Referenced by UpdateICMPFlowStatsEx(), UpdateTCPFlowStatsEx(), and UpdateUDPFlowStatsEx(). |
|
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 180 of file perf-flow.c. References _sfflow::typeIcmp, and _sfflow::typeIcmpTotal. Referenced by UpdateICMPFlowStatsEx(). |
|
Definition at line 192 of file perf-flow.c. References _SFPERF::iPerfFlags, sfGetFlowPtr(), sfPerf, SFPERF_FLOW, and UpdateICMPFlowStats(). Referenced by ProcessPerfMonitor(). |
|
Definition at line 118 of file perf-flow.c. References _sfflow::portTcpDst, _sfflow::portTcpHigh, _sfflow::portTcpSrc, _sfflow::portTcpTotal, and SF_MAX_PORT. Referenced by UpdateTCPFlowStatsEx(). |
|
Definition at line 141 of file perf-flow.c. References _SFPERF::iPerfFlags, sfGetFlowPtr(), sfPerf, SFPERF_FLOW, and UpdateTCPFlowStats(). Referenced by ProcessPerfMonitor(). |
|
Definition at line 149 of file perf-flow.c. References _sfflow::portUdpDst, _sfflow::portUdpHigh, _sfflow::portUdpSrc, _sfflow::portUdpTotal, and SF_MAX_PORT. Referenced by UpdateUDPFlowStatsEx(). |
|
Definition at line 172 of file perf-flow.c. References _SFPERF::iPerfFlags, sfGetFlowPtr(), sfPerf, SFPERF_FLOW, and UpdateUDPFlowStats(). Referenced by ProcessPerfMonitor(). |