Debian Codegraph @

agent/mibgroup/ip-forward-mib/data_access/route.h

raw
1 /*
2 * route data access header
3 *
4 * $Id$
5 */
6 /**---------------------------------------------------------------------*/
7 /*
8 * configure required files
9 *
10 * Notes:
11 *
12 * 1) prefer functionality over platform, where possible. If a method
13 * is available for multiple platforms, test that first. That way
14 * when a new platform is ported, it won't need a new test here.
15 *
16 * 2) don't do detail requirements here. If, for example,
17 * HPUX11 had different reuirements than other HPUX, that should
18 * be handled in the *_hpux.h header file.
19 */
20 config_require(ip-forward-mib/data_access/route_common);
21
22 #if defined( linux )
23 config_require(ip-forward-mib/data_access/route_linux);
24 config_require(ip-forward-mib/data_access/route_ioctl);
25 #elif defined( freebsd7 ) || defined( netbsd5 ) || defined( openbsd4 ) || defined( dragonfly ) || defined( darwin )
26 config_require(ip-forward-mib/data_access/route_sysctl);
27 #elif defined(solaris2)
28 config_require(ip-forward-mib/data_access/route_solaris);
29 #else
30 config_error(the route data access library is not available in this environment.);
31 #endif
32
33 /** need interface for ifIndex */
34 config_require(if-mib/data_access/interface);
35