blob: 2c731a6eb79d72755484ec4b81d9ac3ee11231d6 [file] [log] [blame]
/*
* route data access header
*
* $Id$
*/
/**---------------------------------------------------------------------*/
/*
* configure required files
*
* Notes:
*
* 1) prefer functionality over platform, where possible. If a method
* is available for multiple platforms, test that first. That way
* when a new platform is ported, it won't need a new test here.
*
* 2) don't do detail requirements here. If, for example,
* HPUX11 had different reuirements than other HPUX, that should
* be handled in the *_hpux.h header file.
*/
config_require(ip-forward-mib/data_access/route_common)
#if defined( linux )
config_require(ip-forward-mib/data_access/route_linux)
config_require(ip-forward-mib/data_access/route_ioctl)
#elif defined( freebsd7 ) || defined( netbsd5 ) || defined( openbsd4 ) || defined( dragonfly ) || defined( darwin )
config_require(ip-forward-mib/data_access/route_sysctl)
#elif defined(solaris2) && defined( HAVE_MIB2_IPIFSTATSENTRY_T )
config_require(ip-forward-mib/data_access/route_solaris)
#else
config_error(the route data access library is not available in this environment.)
#endif
/** need interface for ifIndex */
config_require(if-mib/data_access/interface)