40 lines
984 B
C
40 lines
984 B
C
/*
|
|
* TCP MIB group interface - tcp.h
|
|
*
|
|
*/
|
|
#ifndef _MIBGROUP_TCP_H
|
|
#define _MIBGROUP_TCP_H
|
|
|
|
|
|
config_require(mibII/tcpTable)
|
|
|
|
config_arch_require(solaris2, kernel_sunos5)
|
|
config_arch_require(linux, mibII/kernel_linux)
|
|
config_arch_require(netbsd, mibII/kernel_netbsd)
|
|
config_arch_require(netbsdelf, mibII/kernel_netbsd)
|
|
|
|
extern void init_tcp(void);
|
|
extern Netsnmp_Node_Handler tcp_handler;
|
|
extern NetsnmpCacheLoad tcp_load;
|
|
extern NetsnmpCacheFree tcp_free;
|
|
|
|
|
|
#define TCPRTOALGORITHM 1
|
|
#define TCPRTOMIN 2
|
|
#define TCPRTOMAX 3
|
|
#define TCPMAXCONN 4
|
|
#define TCPACTIVEOPENS 5
|
|
#define TCPPASSIVEOPENS 6
|
|
#define TCPATTEMPTFAILS 7
|
|
#define TCPESTABRESETS 8
|
|
#define TCPCURRESTAB 9
|
|
#define TCPINSEGS 10
|
|
#define TCPOUTSEGS 11
|
|
#define TCPRETRANSSEGS 12
|
|
#define TCPCONNTABLE 13 /* Placeholder */
|
|
#define TCPINERRS 14
|
|
#define TCPOUTRSTS 15
|
|
|
|
|
|
#endif /* _MIBGROUP_TCP_H */
|