| 1 |
/* |
| 2 |
*Copyright(c)2004,Cisco URP imburses and Network Information Center in Beijing University of Posts and Telecommunications researches. |
| 3 |
* |
| 4 |
*All right reserved |
| 5 |
* |
| 6 |
*File Name:pingResultsTable.h |
| 7 |
*File Description:The head file of pingResultsTable.c |
| 8 |
* |
| 9 |
*Current Version:1.0 |
| 10 |
*Author:ChenJing |
| 11 |
*Date:2004.8.20 |
| 12 |
*/ |
| 13 |
|
| 14 |
|
| 15 |
#ifndef PINGRESULTSTABLE_H |
| 16 |
#define PINGRESULTSTABLE_H |
| 17 |
|
| 18 |
config_require(header_complex); |
| 19 |
|
| 20 |
/* |
| 21 |
* function declarations |
| 22 |
*/ |
| 23 |
void init_pingResultsTable(void); |
| 24 |
FindVarMethod var_pingResultsTable; |
| 25 |
void parse_pingResultsTable(const char *, char *); |
| 26 |
SNMPCallback store_pingResultsTable; |
| 27 |
|
| 28 |
|
| 29 |
/* |
| 30 |
* column number definitions for table pingResultsTable |
| 31 |
*/ |
| 32 |
#define COLUMN_PINGRESULTSOPERSTATUS 1 |
| 33 |
#define COLUMN_PINGRESULTSIPTARGETADDRESSTYPE 2 |
| 34 |
#define COLUMN_PINGRESULTSIPTARGETADDRESS 3 |
| 35 |
#define COLUMN_PINGRESULTSMINRTT 4 |
| 36 |
#define COLUMN_PINGRESULTSMAXRTT 5 |
| 37 |
#define COLUMN_PINGRESULTSAVERAGERTT 6 |
| 38 |
#define COLUMN_PINGRESULTSPROBERESPONSES 7 |
| 39 |
#define COLUMN_PINGRESULTSSENTPROBES 8 |
| 40 |
#define COLUMN_PINGRESULTSRTTSUMOFSQUARES 9 |
| 41 |
#define COLUMN_PINGRESULTSLASTGOODPROBE 10 |
| 42 |
#endif /* PINGRESULTSTABLE_H */ |