| 1 |
/* |
| 2 |
* TCP MIB group interface - tcp.h |
| 3 |
* |
| 4 |
*/ |
| 5 |
#ifndef _MIBGROUP_TCP_H |
| 6 |
#define _MIBGROUP_TCP_H |
| 7 |
|
| 8 |
|
| 9 |
config_require(mibII/tcpTable); |
| 10 |
|
| 11 |
#ifdef solaris2 |
| 12 |
config_require(kernel_sunos5); |
| 13 |
#elif defined(linux) |
| 14 |
config_require(mibII/kernel_linux); |
| 15 |
#elif defined(netbsd5) || defined(netbsdelf5) |
| 16 |
config_require(mibII/kernel_netbsd); |
| 17 |
#endif |
| 18 |
|
| 19 |
extern void init_tcp(void); |
| 20 |
extern Netsnmp_Node_Handler tcp_handler; |
| 21 |
extern NetsnmpCacheLoad tcp_load; |
| 22 |
extern NetsnmpCacheFree tcp_free; |
| 23 |
|
| 24 |
|
| 25 |
#define TCPRTOALGORITHM 1 |
| 26 |
#define TCPRTOMIN 2 |
| 27 |
#define TCPRTOMAX 3 |
| 28 |
#define TCPMAXCONN 4 |
| 29 |
#define TCPACTIVEOPENS 5 |
| 30 |
#define TCPPASSIVEOPENS 6 |
| 31 |
#define TCPATTEMPTFAILS 7 |
| 32 |
#define TCPESTABRESETS 8 |
| 33 |
#define TCPCURRESTAB 9 |
| 34 |
#define TCPINSEGS 10 |
| 35 |
#define TCPOUTSEGS 11 |
| 36 |
#define TCPRETRANSSEGS 12 |
| 37 |
#define TCPCONNTABLE 13 /* Placeholder */ |
| 38 |
#define TCPINERRS 14 |
| 39 |
#define TCPOUTRSTS 15 |
| 40 |
|
| 41 |
|
| 42 |
#endif /* _MIBGROUP_TCP_H */ |