| 1 |
/* |
| 2 |
* Template MIB group interface - udp.h |
| 3 |
* |
| 4 |
*/ |
| 5 |
#ifndef _MIBGROUP_UDP_H |
| 6 |
#define _MIBGROUP_UDP_H |
| 7 |
|
| 8 |
|
| 9 |
config_require(mibII/udpTable); |
| 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_udp(void); |
| 20 |
extern Netsnmp_Node_Handler udp_handler; |
| 21 |
extern NetsnmpCacheLoad udp_load; |
| 22 |
extern NetsnmpCacheFree udp_free; |
| 23 |
|
| 24 |
|
| 25 |
#define UDPINDATAGRAMS 1 |
| 26 |
#define UDPNOPORTS 2 |
| 27 |
#define UDPINERRORS 3 |
| 28 |
#define UDPOUTDATAGRAMS 4 |
| 29 |
|
| 30 |
#endif /* _MIBGROUP_UDP_H */ |