| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
typedef enum { pdConstant, pdUniform, pdExponential, pdPareto, pdCauchy, pdNormal, pdPoisson, pdGamma, pdWeibull, |
| 32 |
pdTelnet, pdAoM, pdDiscrete, pdExtreme_Largest, pdQuake, pdStudent, pdCSa,pdCSi } TDistro; |
| 33 |
|
| 34 |
extern const char *DistroStrings[]; |
| 35 |
extern const unsigned int DefaultPktPerSec; |
| 36 |
extern const unsigned int DefaultPktSize; |
| 37 |
extern const unsigned long DefaultDuration; |
| 38 |
extern const unsigned long DefaultDelay; |
| 39 |
|
| 40 |
extern Constant *ConstantRV; |
| 41 |
extern Uniform *UniformRV; |
| 42 |
extern Exponential *ExponentialRV; |
| 43 |
extern Pareto *ParetoRV; |
| 44 |
extern Cauchy *CauchyRV; |
| 45 |
extern Normal *NormalRV; |
| 46 |
extern Poisson *PoissonRV; |
| 47 |
extern Gamma *GammaRV; |
| 48 |
|
| 49 |
extern Weibull *WeibullRV; |
| 50 |
|
| 51 |
extern Extreme_Largest *Extreme_LargestRV; |
| 52 |
extern Student *StudentRV; |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
void telnetParser(SumRandom ** pIntArriv, SumRandom ** pPktSize, TDistro & IntArrivDistro, |
| 57 |
TDistro & PktSizeDistro); |
| 58 |
void voIPParser(int h, char *argv[], int &argc, unsigned int flowId, SumRandom ** pIntArriv, |
| 59 |
SumRandom ** pPktSize, TDistro & IntArrivDistro, TDistro & PktSizeDistro); |
| 60 |
void dnsParser(SumRandom ** pIntArriv, SumRandom ** pPktSize, TDistro & IntArrivDistro, |
| 61 |
TDistro & PktSizeDistro); |
| 62 |
|
| 63 |
void CSParsera(SumRandom ** pIntArriv, SumRandom ** pPktSize, TDistro & IntArrivDistro, |
| 64 |
TDistro & PktSizeDistro); |
| 65 |
void QuakeParser(SumRandom ** pIntArriv, SumRandom ** pPktSize, TDistro & IntArrivDistro, TDistro & PktSizeDistro); |
| 66 |
void CSParseri(SumRandom ** pIntArriv, SumRandom ** pPktSize, TDistro & IntArrivDistro, |
| 67 |
TDistro & PktSizeDistro); |
| 68 |
|
| 69 |
#ifdef BURSTY |
| 70 |
void burstyParser(int &h, char *argv[], int &argc, unsigned int flowId, SumRandom ** OnPeriod, |
| 71 |
SumRandom ** OffPeriod, TDistro & OnPeriodDistro, TDistro & OffPeriodDistro); |
| 72 |
#endif |
| 73 |
|