00001 /* include/net-snmp/net-snmp-config.h. Generated from net-snmp-config.h.in by configure. */ 00002 /* include/net-snmp/net-snmp-config.h.in. Generated from configure.ac by autoheader. */ 00003 /* 00004 * net-snmp configuration header file 00005 */ 00006 /* Portions of this file are subject to the following copyright(s). See 00007 * the Net-SNMP's COPYING file for more details and other copyrights 00008 * that may apply: 00009 */ 00010 /* 00011 * Portions of this file are copyrighted by: 00012 * Copyright © 2003 Sun Microsystems, Inc. All rights reserved. 00013 * Use is subject to license terms specified in the COPYING file 00014 * distributed with the Net-SNMP package. 00015 */ 00016 00017 #ifndef NET_SNMP_CONFIG_H 00018 #define NET_SNMP_CONFIG_H 00019 00020 00021 /* ********* NETSNMP_MARK_BEGIN_AUTOCONF_DEFINITIONS ********* */ 00022 /* 00023 * put all autoconf-specific definitions below here 00024 * 00025 */ 00026 #ifndef NETSNMP_NO_AUTOCONF_DEFINITIONS 00027 00028 00029 #if defined (WIN32) || defined (mingw32) || defined (cygwin) 00030 #define ENV_SEPARATOR ";" 00031 #define ENV_SEPARATOR_CHAR ';' 00032 #else 00033 #define ENV_SEPARATOR ":" 00034 #define ENV_SEPARATOR_CHAR ':' 00035 #endif 00036 00037 /* definitions added by configure on-the-fly */ 00038 00039 #define config_belongs_in(x) 00040 00041 #define config_exclude(x) 00042 00043 #define config_arch_require(x,y) 00044 00045 #define config_version_require(x) 00046 00047 #define config_require(x) 00048 00049 #define config_add_mib(x) 00050 00051 #define config_parse_dot_conf(w,x,y,z) 00052 00053 #define config_error(x) 00054 00055 #define config_warning(x) 00056 00057 /* Define if building universal (internal helper macro) */ 00058 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 00059 00060 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 00061 systems. This function is required for `alloca.c' support on those systems. 00062 */ 00063 /* #undef CRAY_STACKSEG_END */ 00064 00065 /* Define to 1 if using `alloca.c'. */ 00066 /* #undef C_ALLOCA */ 00067 00068 /* location of swap device */ 00069 /* #undef DMEM_LOC */ 00070 00071 /* location of mount table list */ 00072 #define ETC_MNTTAB "/etc/mtab" 00073 00074 /* Define to 1 if you have the `AES_cfb128_encrypt' function. */ 00075 #define HAVE_AES_CFB128_ENCRYPT 1 00076 00077 /* Define to 1 if you have `alloca', as a function or macro. */ 00078 #define HAVE_ALLOCA 1 00079 00080 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 00081 */ 00082 #define HAVE_ALLOCA_H 1 00083 00084 /* Define to 1 if you have the <arpa/inet.h> header file. */ 00085 #define HAVE_ARPA_INET_H 1 00086 00087 /* Define to 1 if you have the <asm/page.h> header file. */ 00088 /* #undef HAVE_ASM_PAGE_H */ 00089 00090 /* Define to 1 if you have the <asm/types.h> header file. */ 00091 #define HAVE_ASM_TYPES_H 1 00092 00093 /* Define to 1 if you have the `cgetnext' function. */ 00094 /* #undef HAVE_CGETNEXT */ 00095 00096 /* Define to 1 if the system has the type `Counter64'. */ 00097 /* #undef HAVE_COUNTER64 */ 00098 00099 /* define to 1 if you have IRE_CACHE defined in <inet/ip.h> header file. */ 00100 /* #undef HAVE_DEFINED_IRE_CACHE */ 00101 00102 /* define if you have devstat_getdevs() */ 00103 /* #undef HAVE_DEVSTAT_GETDEVS */ 00104 00105 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 00106 */ 00107 #define HAVE_DIRENT_H 1 00108 00109 /* Define to 1 if you have the <dlfcn.h> header file. */ 00110 #define HAVE_DLFCN_H 1 00111 00112 /* Define to 1 if you have the `dlopen' function. */ 00113 #define HAVE_DLOPEN 1 00114 00115 /* Define to 1 if you have the <dmalloc.h> header file. */ 00116 /* #undef HAVE_DMALLOC_H */ 00117 00118 /* Define to 1 if you have the <err.h> header file. */ 00119 #define HAVE_ERR_H 1 00120 00121 /* Define to 1 if you have the `eval_pv' function. */ 00122 /* #undef HAVE_EVAL_PV */ 00123 00124 /* Define to 1 if you have the `execv' function. */ 00125 #define HAVE_EXECV 1 00126 00127 /* Define to 1 if you have the <fcntl.h> header file. */ 00128 #define HAVE_FCNTL_H 1 00129 00130 /* Define to 1 if you have the `fork' function. */ 00131 #define HAVE_FORK 1 00132 00133 /* Define to 1 if you have the <fstab.h> header file. */ 00134 #define HAVE_FSTAB_H 1 00135 00136 /* Define to 1 if you have the `gai_strerror' function. */ 00137 #define HAVE_GAI_STRERROR 1 00138 00139 /* Define to 1 if you have the `getaddrinfo' function. */ 00140 #define HAVE_GETADDRINFO 1 00141 00142 /* define if you have getdevs() */ 00143 /* #undef HAVE_GETDEVS */ 00144 00145 /* Define to 1 if you have the `getdtablesize' function. */ 00146 #define HAVE_GETDTABLESIZE 1 00147 00148 /* Define to 1 if you have the `getfsstat' function. */ 00149 /* #undef HAVE_GETFSSTAT */ 00150 00151 /* Define to 1 if you have the `getgrnam' function. */ 00152 #define HAVE_GETGRNAM 1 00153 00154 /* Define to 1 if you have the `gethostbyname' function. */ 00155 #define HAVE_GETHOSTBYNAME 1 00156 00157 /* Define to 1 if you have the `gethostname' function. */ 00158 #define HAVE_GETHOSTNAME 1 00159 00160 /* Define to 1 if you have the `getipnodebyname' function. */ 00161 /* #undef HAVE_GETIPNODEBYNAME */ 00162 00163 /* Define to 1 if you have the `getloadavg' function. */ 00164 #define HAVE_GETLOADAVG 1 00165 00166 /* Define to 1 if you have the `getmntent' function. */ 00167 #define HAVE_GETMNTENT 1 00168 00169 /* Define to 1 if you have the <getopt.h> header file. */ 00170 #define HAVE_GETOPT_H 1 00171 00172 /* Define to 1 if you have the `getpagesize' function. */ 00173 #define HAVE_GETPAGESIZE 1 00174 00175 /* Define to 1 if you have the `getpid' function. */ 00176 #define HAVE_GETPID 1 00177 00178 /* Define to 1 if you have the `getpwnam' function. */ 00179 #define HAVE_GETPWNAM 1 00180 00181 /* Define to 1 if you have the `gettimeofday' function. */ 00182 #define HAVE_GETTIMEOFDAY 1 00183 00184 /* Define to 1 if you have the `getvfsstat' function. */ 00185 /* #undef HAVE_GETVFSSTAT */ 00186 00187 /* Define to 1 if you have the <grp.h> header file. */ 00188 #define HAVE_GRP_H 1 00189 00190 /* Define to 1 if you have the `hasmntopt' function. */ 00191 #define HAVE_HASMNTOPT 1 00192 00193 /* Define to 1 if you have the `if_freenameindex' function. */ 00194 #define HAVE_IF_FREENAMEINDEX 1 00195 00196 /* Define to 1 if you have the `if_nameindex' function. */ 00197 #define HAVE_IF_NAMEINDEX 1 00198 00199 /* Define to 1 if you have the `if_nametoindex' function. */ 00200 #define HAVE_IF_NAMETOINDEX 1 00201 00202 /* Define to 1 if you have the <inet/common.h> header file. */ 00203 /* #undef HAVE_INET_COMMON_H */ 00204 00205 /* Define to 1 if you have the <inet/ip.h> header file. */ 00206 /* #undef HAVE_INET_IP_H */ 00207 00208 /* Define to 1 if you have the <inet/mib2.h> header file. */ 00209 /* #undef HAVE_INET_MIB2_H */ 00210 00211 /* Define to 1 if you have the `initgroups' function. */ 00212 #define HAVE_INITGROUPS 1 00213 00214 /* Define to 1 if the system has the type `intmax_t'. */ 00215 #define HAVE_INTMAX_T 1 00216 00217 /* Define to 1 if the system has the type `intptr_t'. */ 00218 #define HAVE_INTPTR_T 1 00219 00220 /* Define to 1 if you have the <inttypes.h> header file. */ 00221 #define HAVE_INTTYPES_H 1 00222 00223 /* Define to 1 if the system has the type `in_addr_t'. */ 00224 #define HAVE_IN_ADDR_T 1 00225 00226 /* Define to 1 if you have the <ioctls.h> header file. */ 00227 /* #undef HAVE_IOCTLS_H */ 00228 00229 /* Define to 1 if you have the <io.h> header file. */ 00230 /* #undef HAVE_IO_H */ 00231 00232 /* Define to 1 if you have the `knlist' function. */ 00233 /* #undef HAVE_KNLIST */ 00234 00235 /* Define to 1 if you have the <kstat.h> header file. */ 00236 /* #undef HAVE_KSTAT_H */ 00237 00238 /* Define to 1 if you have the `kvm_getprocs' function. */ 00239 /* #undef HAVE_KVM_GETPROCS */ 00240 00241 /* Define to 1 if you have the `kvm_getswapinfo' function. */ 00242 /* #undef HAVE_KVM_GETSWAPINFO */ 00243 00244 /* Define to 1 if you have the <kvm.h> header file. */ 00245 /* #undef HAVE_KVM_H */ 00246 00247 /* Define to 1 if you have the `kvm_openfiles' function. */ 00248 /* #undef HAVE_KVM_OPENFILES */ 00249 00250 /* Define to 1 if you have the `crypto' library (-lcrypto). */ 00251 #define HAVE_LIBCRYPTO 1 00252 00253 /* Define to 1 if you have the `elf' library (-lelf). */ 00254 /* #undef HAVE_LIBELF */ 00255 00256 /* Define to 1 if you have the `kstat' library (-lkstat). */ 00257 /* #undef HAVE_LIBKSTAT */ 00258 00259 /* Define to 1 if you have the `mld' library (-lmld). */ 00260 /* #undef HAVE_LIBMLD */ 00261 00262 /* define if you have libnm */ 00263 /* #undef HAVE_LIBNM */ 00264 00265 /* Define to 1 if you have the `nsl' library (-lnsl). */ 00266 /* #undef HAVE_LIBNSL */ 00267 00268 /* Define to 1 if you have the <libperfstat.h> header file. */ 00269 /* #undef HAVE_LIBPERFSTAT_H */ 00270 00271 /* Define to 1 if you have the `pkcs11' library (-lpkcs11). */ 00272 /* #undef HAVE_LIBPKCS11 */ 00273 00274 /* Define to 1 if you have the `rpm' library (-lrpm). */ 00275 #define HAVE_LIBRPM 1 00276 00277 /* Define to 1 if you have the `RSAglue' library (-lRSAglue). */ 00278 /* #undef HAVE_LIBRSAGLUE */ 00279 00280 /* Define to 1 if you have the `rsaref' library (-lrsaref). */ 00281 /* #undef HAVE_LIBRSAREF */ 00282 00283 /* Define to 1 if you have the `ssh2' library (-lssh2). */ 00284 /* #undef HAVE_LIBSSH2 */ 00285 00286 /* Define to 1 if you have the `ssl' library (-lssl). */ 00287 /* #undef HAVE_LIBSSL */ 00288 00289 /* Define to 1 if you have the <limits.h> header file. */ 00290 #define HAVE_LIMITS_H 1 00291 00292 /* Define to 1 if you have the <linux/ethtool.h> header file. */ 00293 #define HAVE_LINUX_ETHTOOL_H 1 00294 00295 /* Define to 1 if you have the <linux/hdreg.h> header file. */ 00296 #define HAVE_LINUX_HDREG_H 1 00297 00298 /* Define to 1 if you have the <linux/netlink.h> header file. */ 00299 #define HAVE_LINUX_NETLINK_H 1 00300 00301 /* Define to 1 if you have the <linux/rtnetlink.h> header file. */ 00302 #define HAVE_LINUX_RTNETLINK_H 1 00303 00304 /* Define to 1 if you have the <linux/tasks.h> header file. */ 00305 /* #undef HAVE_LINUX_TASKS_H */ 00306 00307 /* Define to 1 if you have the <locale.h> header file. */ 00308 #define HAVE_LOCALE_H 1 00309 00310 /* Define to 1 if the system has the type `long long int'. */ 00311 #define HAVE_LONG_LONG_INT 1 00312 00313 /* Set if the lpstat command is available */ 00314 #define HAVE_LPSTAT 1 00315 00316 /* Define to 1 if you have the `lrand48' function. */ 00317 #define HAVE_LRAND48 1 00318 00319 /* Define to 1 if you have the `lseek64' function. */ 00320 #define HAVE_LSEEK64 1 00321 00322 /* Define to 1 if you have the <machine/param.h> header file. */ 00323 /* #undef HAVE_MACHINE_PARAM_H */ 00324 00325 /* Define to 1 if you have the <machine/pte.h> header file. */ 00326 /* #undef HAVE_MACHINE_PTE_H */ 00327 00328 /* Define to 1 if you have the <machine/types.h> header file. */ 00329 /* #undef HAVE_MACHINE_TYPES_H */ 00330 00331 /* Define to 1 if you have the <malloc.h> header file. */ 00332 #define HAVE_MALLOC_H 1 00333 00334 /* Define to 1 if you have the <memory.h> header file. */ 00335 #define HAVE_MEMORY_H 1 00336 00337 /* Define to 1 if the system has the type `mib2_ipIfStatsEntry_t'. */ 00338 /* #undef HAVE_MIB2_IPIFSTATSENTRY_T */ 00339 00340 /* Define to 1 if you have the `mkstemp' function. */ 00341 #define HAVE_MKSTEMP 1 00342 00343 /* Define to 1 if you have the `mktime' function. */ 00344 #define HAVE_MKTIME 1 00345 00346 /* Define to 1 if you have the <mntent.h> header file. */ 00347 #define HAVE_MNTENT_H 1 00348 00349 /* Define to 1 if you have the <mtab.h> header file. */ 00350 /* #undef HAVE_MTAB_H */ 00351 00352 /* Define to 1 if you have the <mysql/mysql.h> header file. */ 00353 /* #undef HAVE_MYSQL_MYSQL_H */ 00354 00355 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 00356 /* #undef HAVE_NDIR_H */ 00357 00358 /* Define to 1 if you have the <netdb.h> header file. */ 00359 #define HAVE_NETDB_H 1 00360 00361 /* Define to 1 if you have the <netinet6/in6_pcb.h> header file. */ 00362 /* #undef HAVE_NETINET6_IN6_PCB_H */ 00363 00364 /* Define to 1 if you have the <netinet6/in6_var.h> header file. */ 00365 /* #undef HAVE_NETINET6_IN6_VAR_H */ 00366 00367 /* Define to 1 if you have the <netinet6/ip6_var.h> header file. */ 00368 /* #undef HAVE_NETINET6_IP6_VAR_H */ 00369 00370 /* Define to 1 if you have the <netinet6/nd6.h> header file. */ 00371 /* #undef HAVE_NETINET6_ND6_H */ 00372 00373 /* Define to 1 if you have the <netinet6/tcp6_fsm.h> header file. */ 00374 /* #undef HAVE_NETINET6_TCP6_FSM_H */ 00375 00376 /* Define to 1 if you have the <netinet6/tcp6.h> header file. */ 00377 /* #undef HAVE_NETINET6_TCP6_H */ 00378 00379 /* Define to 1 if you have the <netinet6/tcp6_timer.h> header file. */ 00380 /* #undef HAVE_NETINET6_TCP6_TIMER_H */ 00381 00382 /* Define to 1 if you have the <netinet6/tcp6_var.h> header file. */ 00383 /* #undef HAVE_NETINET6_TCP6_VAR_H */ 00384 00385 /* Define to 1 if you have the <netinet/icmp6.h> header file. */ 00386 #define HAVE_NETINET_ICMP6_H 1 00387 00388 /* Define to 1 if you have the <netinet/icmp_var.h> header file. */ 00389 /* #undef HAVE_NETINET_ICMP_VAR_H */ 00390 00391 /* Define to 1 if you have the <netinet/if_ether.h> header file. */ 00392 #define HAVE_NETINET_IF_ETHER_H 1 00393 00394 /* Define to 1 if you have the <netinet/in.h> header file. */ 00395 #define HAVE_NETINET_IN_H 1 00396 00397 /* Define to 1 if you have the <netinet/in_pcb.h> header file. */ 00398 /* #undef HAVE_NETINET_IN_PCB_H */ 00399 00400 /* Define to 1 if you have the <netinet/in_systm.h> header file. */ 00401 #define HAVE_NETINET_IN_SYSTM_H 1 00402 00403 /* Define to 1 if you have the <netinet/in_var.h> header file. */ 00404 /* #undef HAVE_NETINET_IN_VAR_H */ 00405 00406 /* Define to 1 if you have the <netinet/ip6.h> header file. */ 00407 #define HAVE_NETINET_IP6_H 1 00408 00409 /* Define to 1 if you have the <netinet/ip.h> header file. */ 00410 #define HAVE_NETINET_IP_H 1 00411 00412 /* Define to 1 if you have the <netinet/ip_icmp.h> header file. */ 00413 #define HAVE_NETINET_IP_ICMP_H 1 00414 00415 /* Define to 1 if you have the <netinet/ip_var.h> header file. */ 00416 /* #undef HAVE_NETINET_IP_VAR_H */ 00417 00418 /* Define to 1 if you have the <netinet/tcpip.h> header file. */ 00419 /* #undef HAVE_NETINET_TCPIP_H */ 00420 00421 /* Define to 1 if you have the <netinet/tcp_fsm.h> header file. */ 00422 /* #undef HAVE_NETINET_TCP_FSM_H */ 00423 00424 /* Define to 1 if you have the <netinet/tcp.h> header file. */ 00425 #define HAVE_NETINET_TCP_H 1 00426 00427 /* Define to 1 if you have the <netinet/tcp_timer.h> header file. */ 00428 /* #undef HAVE_NETINET_TCP_TIMER_H */ 00429 00430 /* Define to 1 if you have the <netinet/tcp_var.h> header file. */ 00431 /* #undef HAVE_NETINET_TCP_VAR_H */ 00432 00433 /* Define to 1 if you have the <netinet/udp.h> header file. */ 00434 #define HAVE_NETINET_UDP_H 1 00435 00436 /* Define to 1 if you have the <netinet/udp_var.h> header file. */ 00437 /* #undef HAVE_NETINET_UDP_VAR_H */ 00438 00439 /* Define to 1 if you have the <netipx/ipx.h> header file. */ 00440 #define HAVE_NETIPX_IPX_H 1 00441 00442 /* Define to 1 if you have the <netlink/netlink.h> header file. */ 00443 #define HAVE_NETLINK_NETLINK_H 1 00444 00445 /* Define to 1 if you have the <net/if_arp.h> header file. */ 00446 #define HAVE_NET_IF_ARP_H 1 00447 00448 /* Define to 1 if you have the <net/if_dl.h> header file. */ 00449 /* #undef HAVE_NET_IF_DL_H */ 00450 00451 /* Define to 1 if you have the <net/if.h> header file. */ 00452 #define HAVE_NET_IF_H 1 00453 00454 /* Define to 1 if you have the <net/if_mib.h> header file. */ 00455 /* #undef HAVE_NET_IF_MIB_H */ 00456 00457 /* Define to 1 if you have the <net/if_types.h> header file. */ 00458 /* #undef HAVE_NET_IF_TYPES_H */ 00459 00460 /* Define to 1 if you have the <net/if_var.h> header file. */ 00461 /* #undef HAVE_NET_IF_VAR_H */ 00462 00463 /* Define to 1 if you have the <net/route.h> header file. */ 00464 #define HAVE_NET_ROUTE_H 1 00465 00466 /* Define to 1 if the system has the type `nfds_t'. */ 00467 #define HAVE_NFDS_T 1 00468 00469 /* Define to 1 if you have the `nlist' function. */ 00470 /* #undef HAVE_NLIST */ 00471 00472 /* Define to 1 if you have the `nlist64' function. */ 00473 /* #undef HAVE_NLIST64 */ 00474 00475 /* Define to 1 if you have the <nlist.h> header file. */ 00476 #define HAVE_NLIST_H 1 00477 00478 /* Define to 1 if the system has the type `off64_t'. */ 00479 #define HAVE_OFF64_T 1 00480 00481 /* Define to 1 if you have the <openssl/aes.h> header file. */ 00482 #define HAVE_OPENSSL_AES_H 1 00483 00484 /* Define to 1 if you have the <openssl/des.h> header file. */ 00485 #define HAVE_OPENSSL_DES_H 1 00486 00487 /* Define to 1 if you have the <openssl/dh.h> header file. */ 00488 #define HAVE_OPENSSL_DH_H 1 00489 00490 /* Define to 1 if you have the <openssl/evp.h> header file. */ 00491 #define HAVE_OPENSSL_EVP_H 1 00492 00493 /* Define to 1 if you have the <openssl/hmac.h> header file. */ 00494 #define HAVE_OPENSSL_HMAC_H 1 00495 00496 /* Define to 1 if you have the <osreldate.h> header file. */ 00497 /* #undef HAVE_OSRELDATE_H */ 00498 00499 /* Define to 1 if you have the <pci/pci.h> header file. */ 00500 #define HAVE_PCI_PCI_H 1 00501 00502 /* on aix, if you have perfstat */ 00503 /* #undef HAVE_PERFSTAT */ 00504 00505 /* Define to 1 if you have `the perl_eval_pv' function. */ 00506 /* #undef HAVE_PERL_EVAL_PV_LC */ 00507 00508 /* Define to 1 if you have the `Perl_eval_pv' function. */ 00509 #define HAVE_PERL_EVAL_PV_UC 1 00510 00511 /* Define to 1 if you have the <picl.h> header file. */ 00512 /* #undef HAVE_PICL_H */ 00513 00514 /* define if you have pkginfo */ 00515 /* #undef HAVE_PKGINFO */ 00516 00517 /* Define to 1 if you have the <pkginfo.h> header file. */ 00518 /* #undef HAVE_PKGINFO_H */ 00519 00520 /* Define to 1 if you have the <pkglocs.h> header file. */ 00521 /* #undef HAVE_PKGLOCS_H */ 00522 00523 /* Define to 1 if you have the `poll' function. */ 00524 #define HAVE_POLL 1 00525 00526 /* Define to 1 if you have the `pread64' function. */ 00527 #define HAVE_PREAD64 1 00528 00529 /* Set if /etc/printcap exists */ 00530 #define HAVE_PRINTCAP 1 00531 00532 /* Define to 1 if you have the <pthread.h> header file. */ 00533 #define HAVE_PTHREAD_H 1 00534 00535 /* Define to 1 if you have the <pwd.h> header file. */ 00536 #define HAVE_PWD_H 1 00537 00538 /* Define to 1 if you have the `rand' function. */ 00539 #define HAVE_RAND 1 00540 00541 /* Define to 1 if you have the `random' function. */ 00542 #define HAVE_RANDOM 1 00543 00544 /* Define to 1 if you have the `regcomp' function. */ 00545 #define HAVE_REGCOMP 1 00546 00547 /* Define to 1 if you have the <regex.h> header file. */ 00548 #define HAVE_REGEX_H 1 00549 00550 /* Define to 1 if you have the `rpmGetPath' function. */ 00551 #define HAVE_RPMGETPATH 1 00552 00553 /* Define to 1 if you have the <rpm/header.h> header file. */ 00554 #define HAVE_RPM_HEADER_H 1 00555 00556 /* Define to 1 if you have the <rpm/rpmdb.h> header file. */ 00557 #define HAVE_RPM_RPMDB_H 1 00558 00559 /* Define to 1 if you have the <rpm/rpmfileutil.h> header file. */ 00560 #define HAVE_RPM_RPMFILEUTIL_H 1 00561 00562 /* Define to 1 if you have the <rpm/rpmlib.h> header file. */ 00563 #define HAVE_RPM_RPMLIB_H 1 00564 00565 /* Define to 1 if you have the <search.h> header file. */ 00566 #define HAVE_SEARCH_H 1 00567 00568 /* Define to 1 if you have the <security/cryptoki.h> header file. */ 00569 /* #undef HAVE_SECURITY_CRYPTOKI_H */ 00570 00571 /* Define to 1 if you have the `select' function. */ 00572 #define HAVE_SELECT 1 00573 00574 /* Define to 1 if you have the `setenv' function. */ 00575 #define HAVE_SETENV 1 00576 00577 /* Define to 1 if you have the `setgid' function. */ 00578 #define HAVE_SETGID 1 00579 00580 /* Define to 1 if you have the `setgroups' function. */ 00581 #define HAVE_SETGROUPS 1 00582 00583 /* Define to 1 if you have the `setitimer' function. */ 00584 #define HAVE_SETITIMER 1 00585 00586 /* Define to 1 if you have the `setlocale' function. */ 00587 #define HAVE_SETLOCALE 1 00588 00589 /* Define to 1 if you have the `setmntent' function. */ 00590 #define HAVE_SETMNTENT 1 00591 00592 /* Define to 1 if you have the `setsid' function. */ 00593 #define HAVE_SETSID 1 00594 00595 /* Define to 1 if you have the `setuid' function. */ 00596 #define HAVE_SETUID 1 00597 00598 /* Define to 1 if you have the <sgtty.h> header file. */ 00599 #define HAVE_SGTTY_H 1 00600 00601 /* Define to 1 if you have the `sigaction' function. */ 00602 #define HAVE_SIGACTION 1 00603 00604 /* Define to 1 if you have the `sigalrm' function. */ 00605 /* #undef HAVE_SIGALRM */ 00606 00607 /* Define to 1 if you have the `sigblock' function. */ 00608 #define HAVE_SIGBLOCK 1 00609 00610 /* Define to 1 if you have the `sighold' function. */ 00611 #define HAVE_SIGHOLD 1 00612 00613 /* Define to 1 if you have the `signal' function. */ 00614 #define HAVE_SIGNAL 1 00615 00616 /* Define to 1 if you have the `sigset' function. */ 00617 #define HAVE_SIGSET 1 00618 00619 /* Define to 1 if you have the `snprintf' function. */ 00620 #define HAVE_SNPRINTF 1 00621 00622 /* Define to 1 if you have the `socket' function. */ 00623 #define HAVE_SOCKET 1 00624 00625 /* Define to 1 if the system has the type `socklen_t'. */ 00626 #define HAVE_SOCKLEN_T 1 00627 00628 /* Define to 1 if the system has the type `ssize_t'. */ 00629 #define HAVE_SSIZE_T 1 00630 00631 /* Define to 1 if you have the `statfs' function. */ 00632 #define HAVE_STATFS 1 00633 00634 /* Define to 1 if you have the `statvfs' function. */ 00635 #define HAVE_STATVFS 1 00636 00637 /* Define to 1 if you have the <stdint.h> header file. */ 00638 #define HAVE_STDINT_H 1 00639 00640 /* Define to 1 if you have the <stdlib.h> header file. */ 00641 #define HAVE_STDLIB_H 1 00642 00643 /* Define to 1 if you have the `stime' function. */ 00644 #define HAVE_STIME 1 00645 00646 /* Define to 1 if you have the `strcasestr' function. */ 00647 #define HAVE_STRCASESTR 1 00648 00649 /* Define to 1 if you have the `strdup' function. */ 00650 #define HAVE_STRDUP 1 00651 00652 /* Define to 1 if you have the `strerror' function. */ 00653 #define HAVE_STRERROR 1 00654 00655 /* Define to 1 if you have the <strings.h> header file. */ 00656 #define HAVE_STRINGS_H 1 00657 00658 /* Define to 1 if you have the <string.h> header file. */ 00659 #define HAVE_STRING_H 1 00660 00661 /* Define to 1 if you have the `strlcpy' function. */ 00662 /* #undef HAVE_STRLCPY */ 00663 00664 /* Define to 1 if you have the `strncasecmp' function. */ 00665 #define HAVE_STRNCASECMP 1 00666 00667 /* Define to 1 if you have the `strtok_r' function. */ 00668 #define HAVE_STRTOK_R 1 00669 00670 /* Define to 1 if you have the `strtol' function. */ 00671 #define HAVE_STRTOL 1 00672 00673 /* Define to 1 if you have the `strtoul' function. */ 00674 #define HAVE_STRTOUL 1 00675 00676 /* Define to 1 if you have the `strtoull' function. */ 00677 #define HAVE_STRTOULL 1 00678 00679 /* Define to 1 if `at_next' is member of `struct arphd'. */ 00680 /* #undef HAVE_STRUCT_ARPHD_AT_NEXT */ 00681 00682 /* Define to 1 if `weak_key' is member of `struct des_ks_struct'. */ 00683 /* #undef HAVE_STRUCT_DES_KS_STRUCT_WEAK_KEY */ 00684 00685 /* Define to 1 if `d_type' is member of `struct dirent'. */ 00686 #define HAVE_STRUCT_DIRENT_D_TYPE 1 00687 00688 /* Define to 1 if `ifa_next' is member of `struct ifaddr'. */ 00689 #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 00690 00691 /* Define to 1 if `if_addrhead.tqh_first' is member of `struct ifnet'. */ 00692 /* #undef HAVE_STRUCT_IFNET_IF_ADDRHEAD_TQH_FIRST */ 00693 00694 /* Define to 1 if `if_addrlist' is member of `struct ifnet'. */ 00695 /* #undef HAVE_STRUCT_IFNET_IF_ADDRLIST */ 00696 00697 /* Define to 1 if `if_baudrate' is member of `struct ifnet'. */ 00698 /* #undef HAVE_STRUCT_IFNET_IF_BAUDRATE */ 00699 00700 /* Define to 1 if `if_baudrate.ifs_value' is member of `struct ifnet'. */ 00701 /* #undef HAVE_STRUCT_IFNET_IF_BAUDRATE_IFS_VALUE */ 00702 00703 /* Define to 1 if `if_ibytes' is member of `struct ifnet'. */ 00704 #define HAVE_STRUCT_IFNET_IF_IBYTES 1 00705 00706 /* Define to 1 if `if_imcasts' is member of `struct ifnet'. */ 00707 /* #undef HAVE_STRUCT_IFNET_IF_IMCASTS */ 00708 00709 /* Define to 1 if `if_iqdrops' is member of `struct ifnet'. */ 00710 #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 00711 00712 /* Define to 1 if `if_lastchange.tv_sec' is member of `struct ifnet'. */ 00713 /* #undef HAVE_STRUCT_IFNET_IF_LASTCHANGE_TV_SEC */ 00714 00715 /* Define to 1 if `if_mtu' is member of `struct ifnet'. */ 00716 #define HAVE_STRUCT_IFNET_IF_MTU 1 00717 00718 /* Define to 1 if `if_noproto' is member of `struct ifnet'. */ 00719 /* #undef HAVE_STRUCT_IFNET_IF_NOPROTO */ 00720 00721 /* Define to 1 if `if_obytes' is member of `struct ifnet'. */ 00722 #define HAVE_STRUCT_IFNET_IF_OBYTES 1 00723 00724 /* Define to 1 if `if_omcasts' is member of `struct ifnet'. */ 00725 /* #undef HAVE_STRUCT_IFNET_IF_OMCASTS */ 00726 00727 /* Define to 1 if `if_speed' is member of `struct ifnet'. */ 00728 #define HAVE_STRUCT_IFNET_IF_SPEED 1 00729 00730 /* Define to 1 if `if_type' is member of `struct ifnet'. */ 00731 #define HAVE_STRUCT_IFNET_IF_TYPE 1 00732 00733 /* Define to 1 if `if_xname' is member of `struct ifnet'. */ 00734 /* #undef HAVE_STRUCT_IFNET_IF_XNAME */ 00735 00736 /* Define to 1 if `ips_cantforward' is member of `struct ipstat'. */ 00737 /* #undef HAVE_STRUCT_IPSTAT_IPS_CANTFORWARD */ 00738 00739 /* Define to 1 if `ips_cantfrag' is member of `struct ipstat'. */ 00740 /* #undef HAVE_STRUCT_IPSTAT_IPS_CANTFRAG */ 00741 00742 /* Define to 1 if `ips_delivered' is member of `struct ipstat'. */ 00743 /* #undef HAVE_STRUCT_IPSTAT_IPS_DELIVERED */ 00744 00745 /* Define to 1 if `ips_fragdropped' is member of `struct ipstat'. */ 00746 /* #undef HAVE_STRUCT_IPSTAT_IPS_FRAGDROPPED */ 00747 00748 /* Define to 1 if `ips_fragmented' is member of `struct ipstat'. */ 00749 /* #undef HAVE_STRUCT_IPSTAT_IPS_FRAGMENTED */ 00750 00751 /* Define to 1 if `ips_fragtimeout' is member of `struct ipstat'. */ 00752 /* #undef HAVE_STRUCT_IPSTAT_IPS_FRAGTIMEOUT */ 00753 00754 /* Define to 1 if `ips_localout' is member of `struct ipstat'. */ 00755 /* #undef HAVE_STRUCT_IPSTAT_IPS_LOCALOUT */ 00756 00757 /* Define to 1 if `ips_noproto' is member of `struct ipstat'. */ 00758 /* #undef HAVE_STRUCT_IPSTAT_IPS_NOPROTO */ 00759 00760 /* Define to 1 if `ips_noroute' is member of `struct ipstat'. */ 00761 /* #undef HAVE_STRUCT_IPSTAT_IPS_NOROUTE */ 00762 00763 /* Define to 1 if `ips_odropped' is member of `struct ipstat'. */ 00764 /* #undef HAVE_STRUCT_IPSTAT_IPS_ODROPPED */ 00765 00766 /* Define to 1 if `ips_ofragments' is member of `struct ipstat'. */ 00767 /* #undef HAVE_STRUCT_IPSTAT_IPS_OFRAGMENTS */ 00768 00769 /* Define to 1 if `ips_reassembled' is member of `struct ipstat'. */ 00770 /* #undef HAVE_STRUCT_IPSTAT_IPS_REASSEMBLED */ 00771 00772 /* Define to 1 if `m_clfree' is member of `struct mbstat'. */ 00773 /* #undef HAVE_STRUCT_MBSTAT_M_CLFREE */ 00774 00775 /* Define to 1 if `m_clusters' is member of `struct mbstat'. */ 00776 /* #undef HAVE_STRUCT_MBSTAT_M_CLUSTERS */ 00777 00778 /* Define to 1 if `m_mbufs' is member of `struct mbstat'. */ 00779 /* #undef HAVE_STRUCT_MBSTAT_M_MBUFS */ 00780 00781 /* Define to 1 if `n_value' is member of `struct nlist64'. */ 00782 /* #undef HAVE_STRUCT_NLIST64_N_VALUE */ 00783 00784 /* Define to 1 if `n_value' is member of `struct nlist'. */ 00785 #define HAVE_STRUCT_NLIST_N_VALUE 1 00786 00787 /* Define to 1 if `rt_dst' is member of `struct rtentry'. */ 00788 #define HAVE_STRUCT_RTENTRY_RT_DST 1 00789 00790 /* Define to 1 if `rt_hash' is member of `struct rtentry'. */ 00791 /* #undef HAVE_STRUCT_RTENTRY_RT_HASH */ 00792 00793 /* Define to 1 if `rt_next' is member of `struct rtentry'. */ 00794 /* #undef HAVE_STRUCT_RTENTRY_RT_NEXT */ 00795 00796 /* Define to 1 if `rt_refcnt' is member of `struct rtentry'. */ 00797 /* #undef HAVE_STRUCT_RTENTRY_RT_REFCNT */ 00798 00799 /* Define to 1 if `rt_unit' is member of `struct rtentry'. */ 00800 /* #undef HAVE_STRUCT_RTENTRY_RT_UNIT */ 00801 00802 /* Define to 1 if `rt_use' is member of `struct rtentry'. */ 00803 /* #undef HAVE_STRUCT_RTENTRY_RT_USE */ 00804 00805 /* Define to 1 if `sa_sigaction' is member of `struct sigaction'. */ 00806 /* #undef HAVE_STRUCT_SIGACTION_SA_SIGACTION */ 00807 00808 /* Define to 1 if `sin6_scope_id' is member of `struct sockaddr_in6'. */ 00809 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 00810 00811 /* Define to 1 if `sa_len' is member of `struct sockaddr'. */ 00812 /* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */ 00813 00814 /* Define to 1 if `sa_union.sa_generic.sa_family2' is member of `struct 00815 sockaddr'. */ 00816 /* #undef HAVE_STRUCT_SOCKADDR_SA_UNION_SA_GENERIC_SA_FAMILY2 */ 00817 00818 /* Define to 1 if `ss_family' is member of `struct sockaddr_storage'. */ 00819 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 00820 00821 /* Define to 1 if `__ss_family' is member of `struct sockaddr_storage'. */ 00822 /* #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */ 00823 00824 /* Define to 1 if `f_favail' is member of `struct statfs'. */ 00825 /* #undef HAVE_STRUCT_STATFS_F_FAVAIL */ 00826 00827 /* Define to 1 if `f_ffree' is member of `struct statfs'. */ 00828 #define HAVE_STRUCT_STATFS_F_FFREE 1 00829 00830 /* Define to 1 if `f_files' is member of `struct statfs'. */ 00831 #define HAVE_STRUCT_STATFS_F_FILES 1 00832 00833 /* Define to 1 if `f_frsize' is member of `struct statfs'. */ 00834 #define HAVE_STRUCT_STATFS_F_FRSIZE 1 00835 00836 /* Define to 1 if `f_files' is member of `struct statvfs'. */ 00837 #define HAVE_STRUCT_STATVFS_F_FILES 1 00838 00839 /* Define to 1 if `f_frsize' is member of `struct statvfs'. */ 00840 #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 00841 00842 /* Define to 1 if `mnt_dir' is member of `struct statvfs'. */ 00843 /* #undef HAVE_STRUCT_STATVFS_MNT_DIR */ 00844 00845 /* Define to 1 if `sw_nblksenabled' is member of `struct swdevt'. */ 00846 /* #undef HAVE_STRUCT_SWDEVT_SW_NBLKSENABLED */ 00847 00848 /* Define to 1 if `tcp_rcvmemdrop' is member of `struct tcpstat'. */ 00849 /* #undef HAVE_STRUCT_TCPSTAT_TCP_RCVMEMDROP */ 00850 00851 /* Define to 1 if `tm_gmtoff' is member of `struct tm'. */ 00852 #define HAVE_STRUCT_TM_TM_GMTOFF 1 00853 00854 /* Define to 1 if `udps_discard' is member of `struct udpstat'. */ 00855 /* #undef HAVE_STRUCT_UDPSTAT_UDPS_DISCARD */ 00856 00857 /* Define to 1 if `udps_fullsock' is member of `struct udpstat'. */ 00858 /* #undef HAVE_STRUCT_UDPSTAT_UDPS_FULLSOCK */ 00859 00860 /* Define to 1 if `udps_noport' is member of `struct udpstat'. */ 00861 /* #undef HAVE_STRUCT_UDPSTAT_UDPS_NOPORT */ 00862 00863 /* Define to 1 if `udps_noportbcast' is member of `struct udpstat'. */ 00864 /* #undef HAVE_STRUCT_UDPSTAT_UDPS_NOPORTBCAST */ 00865 00866 /* Define to 1 if `udps_opackets' is member of `struct udpstat'. */ 00867 /* #undef HAVE_STRUCT_UDPSTAT_UDPS_OPACKETS */ 00868 00869 /* Define to 1 if you have the `sysconf' function. */ 00870 #define HAVE_SYSCONF 1 00871 00872 /* Define to 1 if you have the <syslog.h> header file. */ 00873 #define HAVE_SYSLOG_H 1 00874 00875 /* Define to 1 if you have the `system' function. */ 00876 #define HAVE_SYSTEM 1 00877 00878 /* Define to 1 if you have the <sys/cdefs.h> header file. */ 00879 #define HAVE_SYS_CDEFS_H 1 00880 00881 /* Define to 1 if you have the <sys/conf.h> header file. */ 00882 /* #undef HAVE_SYS_CONF_H */ 00883 00884 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 00885 */ 00886 /* #undef HAVE_SYS_DIR_H */ 00887 00888 /* Define to 1 if you have the <sys/diskio.h> header file. */ 00889 /* #undef HAVE_SYS_DISKIO_H */ 00890 00891 /* Define to 1 if you have the <sys/disklabel.h> header file. */ 00892 /* #undef HAVE_SYS_DISKLABEL_H */ 00893 00894 /* Define to 1 if you have the <sys/dkio.h> header file. */ 00895 /* #undef HAVE_SYS_DKIO_H */ 00896 00897 /* Define to 1 if you have the <sys/dkstat.h> header file. */ 00898 /* #undef HAVE_SYS_DKSTAT_H */ 00899 00900 /* Define to 1 if you have the <sys/dmap.h> header file. */ 00901 /* #undef HAVE_SYS_DMAP_H */ 00902 00903 /* Define to 1 if you have the <sys/file.h> header file. */ 00904 #define HAVE_SYS_FILE_H 1 00905 00906 /* Define to 1 if you have the <sys/filio.h> header file. */ 00907 /* #undef HAVE_SYS_FILIO_H */ 00908 00909 /* Define to 1 if you have the <sys/fixpoint.h> header file. */ 00910 /* #undef HAVE_SYS_FIXPOINT_H */ 00911 00912 /* Define to 1 if you have the <sys/fs.h> header file. */ 00913 /* #undef HAVE_SYS_FS_H */ 00914 00915 /* Define to 1 if you have the <sys/hashing.h> header file. */ 00916 /* #undef HAVE_SYS_HASHING_H */ 00917 00918 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 00919 #define HAVE_SYS_IOCTL_H 1 00920 00921 /* Define to 1 if you have the <sys/loadavg.h> header file. */ 00922 /* #undef HAVE_SYS_LOADAVG_H */ 00923 00924 /* Define to 1 if you have the <sys/mbuf.h> header file. */ 00925 /* #undef HAVE_SYS_MBUF_H */ 00926 00927 /* Define to 1 if you have the <sys/mntent.h> header file. */ 00928 /* #undef HAVE_SYS_MNTENT_H */ 00929 00930 /* Define to 1 if you have the <sys/mnttab.h> header file. */ 00931 /* #undef HAVE_SYS_MNTTAB_H */ 00932 00933 /* Define to 1 if you have the <sys/mount.h> header file. */ 00934 #define HAVE_SYS_MOUNT_H 1 00935 00936 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 00937 */ 00938 /* #undef HAVE_SYS_NDIR_H */ 00939 00940 /* Define to 1 if you have the <sys/param.h> header file. */ 00941 #define HAVE_SYS_PARAM_H 1 00942 00943 /* Define to 1 if you have the <sys/poll.h> header file. */ 00944 #define HAVE_SYS_POLL_H 1 00945 00946 /* Define to 1 if you have the <sys/pool.h> header file. */ 00947 /* #undef HAVE_SYS_POOL_H */ 00948 00949 /* Define to 1 if you have the <sys/proc.h> header file. */ 00950 /* #undef HAVE_SYS_PROC_H */ 00951 00952 /* Define to 1 if you have the <sys/protosw.h> header file. */ 00953 /* #undef HAVE_SYS_PROTOSW_H */ 00954 00955 /* Define to 1 if you have the <sys/pstat.h> header file. */ 00956 /* #undef HAVE_SYS_PSTAT_H */ 00957 00958 /* Define to 1 if you have the <sys/queue.h> header file. */ 00959 #define HAVE_SYS_QUEUE_H 1 00960 00961 /* Define to 1 if you have the <sys/select.h> header file. */ 00962 #define HAVE_SYS_SELECT_H 1 00963 00964 /* Define to 1 if you have the <sys/sema.h> header file. */ 00965 /* #undef HAVE_SYS_SEMA_H */ 00966 00967 /* Define to 1 if you have the <sys/socketvar.h> header file. */ 00968 #define HAVE_SYS_SOCKETVAR_H 1 00969 00970 /* Define to 1 if you have the <sys/socket.h> header file. */ 00971 #define HAVE_SYS_SOCKET_H 1 00972 00973 /* Define to 1 if you have the <sys/sockio.h> header file. */ 00974 /* #undef HAVE_SYS_SOCKIO_H */ 00975 00976 /* Define to 1 if you have the <sys/statfs.h> header file. */ 00977 #define HAVE_SYS_STATFS_H 1 00978 00979 /* Define to 1 if you have the <sys/statvfs.h> header file. */ 00980 #define HAVE_SYS_STATVFS_H 1 00981 00982 /* Define to 1 if you have the <sys/stat.h> header file. */ 00983 #define HAVE_SYS_STAT_H 1 00984 00985 /* Define to 1 if you have the <sys/stream.h> header file. */ 00986 /* #undef HAVE_SYS_STREAM_H */ 00987 00988 /* Define to 1 if you have the <sys/swap.h> header file. */ 00989 #define HAVE_SYS_SWAP_H 1 00990 00991 /* Define to 1 if you have the <sys/sysctl.h> header file. */ 00992 #define HAVE_SYS_SYSCTL_H 1 00993 00994 /* Define to 1 if you have the <sys/sysget.h> header file. */ 00995 /* #undef HAVE_SYS_SYSGET_H */ 00996 00997 /* Define to 1 if you have the <sys/sysmp.h> header file. */ 00998 /* #undef HAVE_SYS_SYSMP_H */ 00999 01000 /* Define to 1 if you have the <sys/systemcfg.h> header file. */ 01001 /* #undef HAVE_SYS_SYSTEMCFG_H */ 01002 01003 /* Define to 1 if you have the <sys/systeminfo.h> header file. */ 01004 /* #undef HAVE_SYS_SYSTEMINFO_H */ 01005 01006 /* Define to 1 if you have the <sys/tcpipstats.h> header file. */ 01007 /* #undef HAVE_SYS_TCPIPSTATS_H */ 01008 01009 /* Define to 1 if you have the <sys/timeout.h> header file. */ 01010 /* #undef HAVE_SYS_TIMEOUT_H */ 01011 01012 /* Define to 1 if you have the <sys/times.h> header file. */ 01013 #define HAVE_SYS_TIMES_H 1 01014 01015 /* Define to 1 if you have the <sys/time.h> header file. */ 01016 #define HAVE_SYS_TIME_H 1 01017 01018 /* Define to 1 if you have the <sys/types.h> header file. */ 01019 #define HAVE_SYS_TYPES_H 1 01020 01021 /* Define to 1 if you have the <sys/uio.h> header file. */ 01022 #define HAVE_SYS_UIO_H 1 01023 01024 /* Define to 1 if you have the <sys/un.h> header file. */ 01025 #define HAVE_SYS_UN_H 1 01026 01027 /* Define to 1 if you have the <sys/user.h> header file. */ 01028 #define HAVE_SYS_USER_H 1 01029 01030 /* Define to 1 if you have the <sys/utsname.h> header file. */ 01031 #define HAVE_SYS_UTSNAME_H 1 01032 01033 /* Define to 1 if you have the <sys/vfs.h> header file. */ 01034 #define HAVE_SYS_VFS_H 1 01035 01036 /* Define to 1 if you have the <sys/vmmac.h> header file. */ 01037 /* #undef HAVE_SYS_VMMAC_H */ 01038 01039 /* Define to 1 if you have the <sys/vmmeter.h> header file. */ 01040 /* #undef HAVE_SYS_VMMETER_H */ 01041 01042 /* Define to 1 if you have the <sys/vmparam.h> header file. */ 01043 /* #undef HAVE_SYS_VMPARAM_H */ 01044 01045 /* Define to 1 if you have the <sys/vmsystm.h> header file. */ 01046 /* #undef HAVE_SYS_VMSYSTM_H */ 01047 01048 /* Define to 1 if you have the <sys/vm.h> header file. */ 01049 /* #undef HAVE_SYS_VM_H */ 01050 01051 /* Define to 1 if you have the <sys/vnode.h> header file. */ 01052 /* #undef HAVE_SYS_VNODE_H */ 01053 01054 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 01055 #define HAVE_SYS_WAIT_H 1 01056 01057 /* Define to 1 if you have the `tcgetattr' function. */ 01058 #define HAVE_TCGETATTR 1 01059 01060 /* Define to 1 if you have the `times' function. */ 01061 #define HAVE_TIMES 1 01062 01063 /* Define to 1 if you have the <ufs/ffs/fs.h> header file. */ 01064 /* #undef HAVE_UFS_FFS_FS_H */ 01065 01066 /* Define to 1 if you have the <ufs/fs.h> header file. */ 01067 /* #undef HAVE_UFS_FS_H */ 01068 01069 /* Define to 1 if you have the <ufs/ufs/dinode.h> header file. */ 01070 /* #undef HAVE_UFS_UFS_DINODE_H */ 01071 01072 /* Define to 1 if you have the <ufs/ufs/inode.h> header file. */ 01073 /* #undef HAVE_UFS_UFS_INODE_H */ 01074 01075 /* Define to 1 if you have the <ufs/ufs/quota.h> header file. */ 01076 /* #undef HAVE_UFS_UFS_QUOTA_H */ 01077 01078 /* Define to 1 if the system has the type `uintmax_t'. */ 01079 #define HAVE_UINTMAX_T 1 01080 01081 /* Define to 1 if the system has the type `uintptr_t'. */ 01082 #define HAVE_UINTPTR_T 1 01083 01084 /* Define to 1 if you have the `uname' function. */ 01085 #define HAVE_UNAME 1 01086 01087 /* Define to 1 if you have the <unistd.h> header file. */ 01088 #define HAVE_UNISTD_H 1 01089 01090 /* Define to 1 if the system has the type `unsigned long long int'. */ 01091 #define HAVE_UNSIGNED_LONG_LONG_INT 1 01092 01093 /* Define to 1 if you have the `usleep' function. */ 01094 #define HAVE_USLEEP 1 01095 01096 /* Define to 1 if you have the <utmpx.h> header file. */ 01097 #define HAVE_UTMPX_H 1 01098 01099 /* Define to 1 if you have the <utsname.h> header file. */ 01100 /* #undef HAVE_UTSNAME_H */ 01101 01102 /* Define to 1 if you have the <uvm/uvm_extern.h> header file. */ 01103 /* #undef HAVE_UVM_UVM_EXTERN_H */ 01104 01105 /* Define to 1 if you have the <uvm/uvm_param.h> header file. */ 01106 /* #undef HAVE_UVM_UVM_PARAM_H */ 01107 01108 /* Define to 1 if you have the <vm/swap_pager.h> header file. */ 01109 /* #undef HAVE_VM_SWAP_PAGER_H */ 01110 01111 /* Define to 1 if you have the <vm/vm_extern.h> header file. */ 01112 /* #undef HAVE_VM_VM_EXTERN_H */ 01113 01114 /* Define to 1 if you have the <vm/vm.h> header file. */ 01115 /* #undef HAVE_VM_VM_H */ 01116 01117 /* Define to 1 if you have the <vm/vm_param.h> header file. */ 01118 /* #undef HAVE_VM_VM_PARAM_H */ 01119 01120 /* Define to 1 if you have the `vsnprintf' function. */ 01121 #define HAVE_VSNPRINTF 1 01122 01123 /* Define to 1 if you have the <winsock.h> header file. */ 01124 /* #undef HAVE_WINSOCK_H */ 01125 01126 /* Define to 1 if you have the <xti.h> header file. */ 01127 /* #undef HAVE_XTI_H */ 01128 01129 /* location of UNIX kernel */ 01130 #define KERNEL_LOC "unknown" 01131 01132 /* Path to the lpstat command */ 01133 #define LPSTAT_PATH "/usr/bin/lpstat" 01134 01135 /* Define to the sub-directory in which libtool stores uninstalled libraries. 01136 */ 01137 #define LT_OBJDIR ".libs/" 01138 01139 /* define if agentx transport is to use domain sockets only */ 01140 /* #undef NETSNMP_AGENTX_DOM_SOCK_ONLY */ 01141 01142 /* Unix domain socket for AgentX master-subagent communication */ 01143 #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" 01144 01145 /* Define if static inline functions are unsupported */ 01146 /* #undef NETSNMP_BROKEN_INLINE */ 01147 01148 /* sysctl works to get boottime, etc... */ 01149 /* #undef NETSNMP_CAN_USE_SYSCTL */ 01150 01151 /* configure options specified */ 01152 #define NETSNMP_CONFIGURE_OPTIONS " '--cache=config.cache' '--with-defaults' '--with-mib-modules=host examples examples/example testhandler smux Rmon disman/event-mib' '--with-transports=IPX' '--enable-ipv6' '--enable-embedded-perl' '--enable-shared'" 01153 01154 /* default location to look for mibs to load using the above tokens and/or 01155 those in the MIBS envrionment variable */ 01156 #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/local/share/snmp/mibs" 01157 01158 /* default mib files to load, specified by path. */ 01159 /* #undef NETSNMP_DEFAULT_MIBFILES */ 01160 01161 /* Define if DES encryption should not be supported */ 01162 /* #undef NETSNMP_DISABLE_DES */ 01163 01164 /* Define if MD5 authentication should not be supported */ 01165 /* #undef NETSNMP_DISABLE_MD5 */ 01166 01167 /* Define if mib loading and parsing code should not be included */ 01168 /* #undef NETSNMP_DISABLE_MIB_LOADING */ 01169 01170 /* Define if SNMP SET support should be disabled */ 01171 /* #undef NETSNMP_DISABLE_SET_SUPPORT */ 01172 01173 /* Define if SNMPv1 code should not be included */ 01174 /* #undef NETSNMP_DISABLE_SNMPV1 */ 01175 01176 /* Define if SNMPv2c code should not be included */ 01177 /* #undef NETSNMP_DISABLE_SNMPV2C */ 01178 01179 /* Define if you are embedding perl in the main agent. */ 01180 #define NETSNMP_EMBEDDED_PERL 1 01181 01182 /* define if you want to enable IPv6 support */ 01183 #define NETSNMP_ENABLE_IPV6 1 01184 01185 /* define if you want to restrict SMUX connections to localhost by default */ 01186 /* #undef NETSNMP_ENABLE_LOCAL_SMUX */ 01187 01188 /* Define if you want to build MFD module rewrites */ 01189 /* #undef NETSNMP_ENABLE_MFD_REWRITES */ 01190 01191 /* define if you want to compile support for both authentication and privacy 01192 support. */ 01193 #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 01194 01195 /* testing code sections. */ 01196 /* #undef NETSNMP_ENABLE_TESTING_CODE */ 01197 01198 /* Should evaluate to the name of the current function if defined */ 01199 #define NETSNMP_FUNCTION __func__ 01200 01201 /* ifnet needs to have _KERNEL defined */ 01202 /* #undef NETSNMP_IFNET_NEEDS_KERNEL */ 01203 01204 /* Define to suppress inclusion of deprecated functions */ 01205 /* #undef NETSNMP_NO_DEPRECATED_FUNCTIONS */ 01206 01207 /* If you don't want the agent to report on variables it doesn't have data for 01208 */ 01209 #define NETSNMP_NO_DUMMY_VALUES 1 01210 01211 /* If we don't want to use kmem. */ 01212 /* #undef NETSNMP_NO_KMEM_USAGE */ 01213 01214 /* If you don't have root access don't exit upon kmem errors */ 01215 /* #undef NETSNMP_NO_ROOT_ACCESS */ 01216 01217 /* umask permissions to set up persistent files with */ 01218 #define NETSNMP_PERSISTENT_MASK 077 01219 01220 /* Define to 1 if you want to build with reentrant/threaded code (incomplete). 01221 */ 01222 /* #undef NETSNMP_REENTRANT */ 01223 01224 /* define if you do not want snmptrapd to register as an AgentX subagent */ 01225 /* #undef NETSNMP_SNMPTRAPD_DISABLE_AGENTX */ 01226 01227 /* Pattern of temporary files */ 01228 #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" 01229 01230 /* define if you are using the MD5 code ... */ 01231 /* #undef NETSNMP_USE_INTERNAL_MD5 */ 01232 01233 /* Define this if you're using Heimdal Kerberos */ 01234 /* #undef NETSNMP_USE_KERBEROS_HEIMDAL */ 01235 01236 /* Define this if we're using the new MIT crypto API */ 01237 /* #undef NETSNMP_USE_KERBEROS_MIT */ 01238 01239 /* define if you are using the mysql code for snmptrapd ... */ 01240 /* #undef NETSNMP_USE_MYSQL */ 01241 01242 /* Define if you are using the codeS11 library ... */ 01243 /* #undef NETSNMP_USE_PKCS11 */ 01244 01245 /* Should we compile to use special opaque types: float, double, counter64, 01246 i64, ui64, union? */ 01247 #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 01248 01249 /* Define to the address where bug reports for this package should be sent. */ 01250 #ifndef PACKAGE_BUGREPORT 01251 #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" 01252 #endif 01253 01254 /* Define to the full name of this package. */ 01255 #ifndef PACKAGE_NAME 01256 #define PACKAGE_NAME "Net-SNMP" 01257 #endif 01258 01259 /* Define to the full name and version of this package. */ 01260 #ifndef PACKAGE_STRING 01261 #define PACKAGE_STRING "Net-SNMP 5.5.rc2" 01262 #endif 01263 01264 /* Define to the one symbol short name of this package. */ 01265 #ifndef PACKAGE_TARNAME 01266 #define PACKAGE_TARNAME "net-snmp" 01267 #endif 01268 01269 /* Define to the version of this package. */ 01270 #ifndef PACKAGE_VERSION 01271 #define PACKAGE_VERSION "5.5.rc2" 01272 #endif 01273 01274 /* Command to generate ps output, the final column must be the process name 01275 withOUT arguments */ 01276 #define PSCMD "/bin/ps -e" 01277 01278 /* Define as the return type of signal handlers (`int' or `void'). */ 01279 #define RETSIGTYPE void 01280 01281 /* define rtentry to ortentry on SYSV machines (alphas) */ 01282 #define RTENTRY struct rtentry 01283 01284 /* Use BSD 4.4 routing table entries? */ 01285 /* #undef RTENTRY_4_4 */ 01286 01287 /* The size of `int', as computed by sizeof. */ 01288 #define SIZEOF_INT 4 01289 01290 /* The size of `intmax_t', as computed by sizeof. */ 01291 #define SIZEOF_INTMAX_T 8 01292 01293 /* The size of `long', as computed by sizeof. */ 01294 #define SIZEOF_LONG 4 01295 01296 /* The size of `long long', as computed by sizeof. */ 01297 #define SIZEOF_LONG_LONG 8 01298 01299 /* The size of `short', as computed by sizeof. */ 01300 #define SIZEOF_SHORT 2 01301 01302 /* If using the C implementation of alloca, define if you know the 01303 direction of stack growth for your system; otherwise it will be 01304 automatically deduced at runtime. 01305 STACK_DIRECTION > 0 => grows toward higher addresses 01306 STACK_DIRECTION < 0 => grows toward lower addresses 01307 STACK_DIRECTION = 0 => direction of growth unknown */ 01308 /* #undef STACK_DIRECTION */ 01309 01310 /* Define if statfs takes 2 args and the second argument has type struct 01311 fs_data. [Ultrix] */ 01312 /* #undef STAT_STATFS_FS_DATA */ 01313 01314 /* Define to 1 if you have the ANSI C header files. */ 01315 #define STDC_HEADERS 1 01316 01317 /* define if SIOCGIFADDR exists in sys/ioctl.h */ 01318 #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 01319 01320 /* Define if the TCP timer constants in <netinet/tcp_timer.h> depend on the 01321 integer variable `hz'. [FreeBSD 4.x] */ 01322 /* #undef TCPTV_NEEDS_HZ */ 01323 01324 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 01325 #define TIME_WITH_SYS_TIME 1 01326 01327 /* Where is the uname command */ 01328 #define UNAMEPROG "/bin/uname" 01329 01330 /* Enable extensions on AIX 3, Interix. */ 01331 #ifndef _ALL_SOURCE 01332 # define _ALL_SOURCE 1 01333 #endif 01334 /* Enable GNU extensions on systems that have them. */ 01335 #ifndef _GNU_SOURCE 01336 # define _GNU_SOURCE 1 01337 #endif 01338 /* Enable threading extensions on Solaris. */ 01339 #ifndef _POSIX_PTHREAD_SEMANTICS 01340 # define _POSIX_PTHREAD_SEMANTICS 1 01341 #endif 01342 /* Enable extensions on HP NonStop. */ 01343 #ifndef _TANDEM_SOURCE 01344 # define _TANDEM_SOURCE 1 01345 #endif 01346 /* Enable general extensions on Solaris. */ 01347 #ifndef __EXTENSIONS__ 01348 # define __EXTENSIONS__ 1 01349 #endif 01350 01351 01352 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 01353 significant byte first (like Motorola and SPARC, unlike Intel). */ 01354 #if defined AC_APPLE_UNIVERSAL_BUILD 01355 # if defined __BIG_ENDIAN__ 01356 # define WORDS_BIGENDIAN 1 01357 # endif 01358 #else 01359 # ifndef WORDS_BIGENDIAN 01360 /* # undef WORDS_BIGENDIAN */ 01361 # endif 01362 #endif 01363 01364 /* Define to 1 if on MINIX. */ 01365 /* #undef _MINIX */ 01366 01367 /* Define to 2 if the system does not provide POSIX.1 features except with 01368 this defined. */ 01369 /* #undef _POSIX_1_SOURCE */ 01370 01371 /* Define to 1 if you need to in order for `stat' and other things to work. */ 01372 /* #undef _POSIX_SOURCE */ 01373 01374 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, 01375 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 01376 #define below would cause a syntax error. */ 01377 /* #undef _UINT32_T */ 01378 01379 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, 01380 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 01381 #define below would cause a syntax error. */ 01382 /* #undef _UINT64_T */ 01383 01384 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, 01385 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 01386 #define below would cause a syntax error. */ 01387 /* #undef _UINT8_T */ 01388 01389 /* Define to empty if `const' does not conform to ANSI C. */ 01390 /* #undef const */ 01391 01392 /* Define to `__inline__' or `__inline' if that's what the C compiler 01393 calls it, or to nothing if 'inline' is not supported under any name. */ 01394 #ifndef __cplusplus 01395 /* #undef inline */ 01396 #endif 01397 01398 /* Define to the type of a signed integer type of width exactly 16 bits if 01399 such a type exists and the standard includes do not define it. */ 01400 /* #undef int16_t */ 01401 01402 /* Define to the type of a signed integer type of width exactly 32 bits if 01403 such a type exists and the standard includes do not define it. */ 01404 /* #undef int32_t */ 01405 01406 /* Define to the type of a signed integer type of width exactly 64 bits if 01407 such a type exists and the standard includes do not define it. */ 01408 /* #undef int64_t */ 01409 01410 /* Define to the type of a signed integer type of width exactly 8 bits if such 01411 a type exists and the standard includes do not define it. */ 01412 /* #undef int8_t */ 01413 01414 /* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do 01415 not define. */ 01416 /* #undef intmax_t */ 01417 01418 /* Define to the type of a signed integer type wide enough to hold a pointer, 01419 if such a type exists, and if the system does not define it. */ 01420 /* #undef intptr_t */ 01421 01422 /* Define to `long int' if <sys/types.h> does not define. */ 01423 /* #undef off_t */ 01424 01425 /* Define to `int' if <sys/types.h> does not define. */ 01426 /* #undef pid_t */ 01427 01428 /* Define to the type of an unsigned integer type of width exactly 16 bits if 01429 such a type exists and the standard includes do not define it. */ 01430 /* #undef uint16_t */ 01431 01432 /* Define to the type of an unsigned integer type of width exactly 32 bits if 01433 such a type exists and the standard includes do not define it. */ 01434 /* #undef uint32_t */ 01435 01436 /* Define to the type of an unsigned integer type of width exactly 64 bits if 01437 such a type exists and the standard includes do not define it. */ 01438 /* #undef uint64_t */ 01439 01440 /* Define to the type of an unsigned integer type of width exactly 8 bits if 01441 such a type exists and the standard includes do not define it. */ 01442 /* #undef uint8_t */ 01443 01444 /* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h> 01445 do not define. */ 01446 /* #undef uintmax_t */ 01447 01448 /* Define to the type of an unsigned integer type wide enough to hold a 01449 pointer, if such a type exists, and if the system does not define it. */ 01450 /* #undef uintptr_t */ 01451 01452 /* end of definitions added by configure on-the-fly */ 01453 01454 /* If you have openssl 0.9.7 or above, you likely have AES support. */ 01455 #define NETSNMP_USE_OPENSSL 1 01456 #if defined(NETSNMP_USE_OPENSSL) && defined(HAVE_OPENSSL_AES_H) && defined(HAVE_AES_CFB128_ENCRYPT) 01457 #define HAVE_AES 1 01458 #endif 01459 01460 /* define random functions */ 01461 01462 #ifndef HAVE_RANDOM 01463 #ifdef HAVE_LRAND48 01464 #define random lrand48 01465 #define srandom(s) srand48(s) 01466 #else 01467 #ifdef HAVE_RAND 01468 #define random rand 01469 #define srandom(s) srand(s) 01470 #endif 01471 #endif 01472 #endif 01473 01474 /* define signal if DNE */ 01475 01476 #ifndef HAVE_SIGNAL 01477 #ifdef HAVE_SIGSET 01478 #define signal(a,b) sigset(a,b) 01479 #endif 01480 #endif 01481 01482 #if HAVE_DMALLOC_H 01483 #define DMALLOC_FUNC_CHECK 01484 #endif 01485 01486 #endif /* NETSNMP_NO_AUTOCONF_DEFINITIONS */ 01487 01488 01489 01490 01491 /* ********* NETSNMP_MARK_BEGIN_CLEAN_NAMESPACE ********* */ 01492 /* 01493 * put all new net-snmp-specific definitions here 01494 * 01495 * all definitions MUST have a NETSNMP_ prefix 01496 * 01497 */ 01498 01499 /* Default (SNMP) version number for the tools to use */ 01500 #define NETSNMP_DEFAULT_SNMP_VERSION 3 01501 01502 /* don't change these values! */ 01503 #define NETSNMP_SNMPV1 0xAAAA /* readable by anyone */ 01504 #define NETSNMP_SNMPV2ANY 0xA000 /* V2 Any type (includes NoAuth) */ 01505 #define NETSNMP_SNMPV2AUTH 0x8000 /* V2 Authenticated requests only */ 01506 01507 /* default list of mibs to load */ 01508 #define NETSNMP_DEFAULT_MIBS ":HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:RMON-MIB:IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" 01509 01510 /* debugging stuff */ 01511 /* if defined, we optimize the code to exclude all debugging calls. */ 01512 /* #undef NETSNMP_NO_DEBUGGING */ 01513 /* ignore the -D flag and always print debugging information */ 01514 #define NETSNMP_ALWAYS_DEBUG 0 01515 01516 /* reverse encoding BER packets is both faster and more efficient in space. */ 01517 #define NETSNMP_USE_REVERSE_ASNENCODING 1 01518 #define NETSNMP_DEFAULT_ASNENCODING_DIRECTION 1 /* 1 = reverse, 0 = forwards */ 01519 01520 /* PERSISTENT_DIRECTORY: If defined, the library is capabile of saving 01521 persisant information to this directory in the form of configuration 01522 lines: PERSISTENT_DIRECTORY/NAME.persistent.conf */ 01523 #define NETSNMP_PERSISTENT_DIRECTORY "/var/net-snmp" 01524 01525 /* AGENT_DIRECTORY_MODE: the mode the agents should use to create 01526 directories with. Since the data stored here is probably sensitive, it 01527 probably should be read-only by root/administrator. */ 01528 #define NETSNMP_AGENT_DIRECTORY_MODE 0700 01529 01530 /* MAX_PERSISTENT_BACKUPS: 01531 * The maximum number of persistent backups the library will try to 01532 * read from the persistent cache directory. If an application fails to 01533 * close down successfully more than this number of times, data will be lost. 01534 */ 01535 #define NETSNMP_MAX_PERSISTENT_BACKUPS 10 01536 01537 /* define the system type include file here */ 01538 #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" 01539 01540 /* define the machine (cpu) type include file here */ 01541 #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" 01542 01543 /* define the UDP buffer defaults undefined means use the OS buffers 01544 * by default */ 01545 /* #undef NETSNMP_DEFAULT_SERVER_SEND_BUF */ 01546 /* #undef NETSNMP_DEFAULT_SERVER_RECV_BUF */ 01547 /* #undef NETSNMP_DEFAULT_CLIENT_SEND_BUF */ 01548 /* #undef NETSNMP_DEFAULT_CLIENT_RECV_BUF */ 01549 01550 /* net-snmp's major path names */ 01551 #define SNMPLIBPATH "/usr/local/lib/snmp" 01552 #define SNMPSHAREPATH "/usr/local/share/snmp" 01553 #define SNMPCONFPATH "/usr/local/etc/snmp" 01554 #define SNMPDLMODPATH "/usr/local/lib/snmp/dlmod" 01555 01556 /* NETSNMP_LOGFILE: If defined it closes stdout/err/in and opens this in 01557 out/err's place. (stdin is closed so that sh scripts won't wait for it) */ 01558 #define NETSNMP_LOGFILE "/var/log/snmpd.log" 01559 01560 /* default system contact */ 01561 #define NETSNMP_SYS_CONTACT "hardaker@hardakers.net" 01562 01563 /* system location */ 01564 #define NETSNMP_SYS_LOC "Unknown" 01565 01566 /* Use libwrap to handle allow/deny hosts? */ 01567 /* #undef NETSNMP_USE_LIBWRAP */ 01568 01569 /* Mib-2 tree Info */ 01570 /* These are the system information variables. */ 01571 01572 #define NETSNMP_VERS_DESC "unknown" /* overridden at run time */ 01573 #define NETSNMP_SYS_NAME "unknown" /* overridden at run time */ 01574 01575 /* comment out the second define to turn off functionality for any of 01576 these: (See README for details) */ 01577 01578 /* proc PROCESSNAME [MAX] [MIN] */ 01579 #define NETSNMP_PROCMIBNUM 2 01580 01581 /* exec/shell NAME COMMAND */ 01582 #define NETSNMP_SHELLMIBNUM 8 01583 01584 /* swap MIN */ 01585 #define NETSNMP_MEMMIBNUM 4 01586 01587 /* disk DISK MINSIZE */ 01588 #define NETSNMP_DISKMIBNUM 9 01589 01590 /* load 1 5 15 */ 01591 #define NETSNMP_LOADAVEMIBNUM 10 01592 01593 /* which version are you using? This mibloc will tell you */ 01594 #define NETSNMP_VERSIONMIBNUM 100 01595 01596 /* Reports errors the agent runs into */ 01597 /* (typically its "can't fork, no mem" problems) */ 01598 #define NETSNMP_ERRORMIBNUM 101 01599 01600 /* The sub id of EXTENSIBLEMIB returned to queries of 01601 .iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0 */ 01602 #define NETSNMP_AGENTID 250 01603 01604 /* This ID is returned after the AGENTID above. IE, the resulting 01605 value returned by a query to sysObjectID is 01606 EXTENSIBLEMIB.AGENTID.???, where ??? is defined below by OSTYPE */ 01607 01608 #define NETSNMP_HPUX9ID 1 01609 #define NETSNMP_SUNOS4ID 2 01610 #define NETSNMP_SOLARISID 3 01611 #define NETSNMP_OSFID 4 01612 #define NETSNMP_ULTRIXID 5 01613 #define NETSNMP_HPUX10ID 6 01614 #define NETSNMP_NETBSD1ID 7 01615 #define NETSNMP_FREEBSDID 8 01616 #define NETSNMP_IRIXID 9 01617 #define NETSNMP_LINUXID 10 01618 #define NETSNMP_BSDIID 11 01619 #define NETSNMP_OPENBSDID 12 01620 #define NETSNMP_WIN32ID 13 01621 #define NETSNMP_HPUX11ID 14 01622 #define NETSNMP_AIXID 15 01623 #define NETSNMP_MACOSXID 16 01624 #define NETSNMP_UNKNOWNID 255 01625 01626 #ifdef hpux9 01627 #define NETSNMP_OSTYPE NETSNMP_HPUX9ID 01628 #endif 01629 #ifdef hpux10 01630 #define NETSNMP_OSTYPE NETSNMP_HPUX10ID 01631 #endif 01632 #ifdef hpux11 01633 #define NETSNMP_OSTYPE NETSNMP_HPUX11ID 01634 #endif 01635 #ifdef sunos4 01636 #define NETSNMP_OSTYPE NETSNMP_SUNOS4ID 01637 #endif 01638 #ifdef solaris2 01639 #define NETSNMP_OSTYPE NETSNMP_SOLARISID 01640 #endif 01641 #if defined(osf3) || defined(osf4) || defined(osf5) 01642 #define NETSNMP_OSTYPE NETSNMP_OSFID 01643 #endif 01644 #ifdef ultrix4 01645 #define NETSNMP_OSTYPE NETSNMP_ULTRIXID 01646 #endif 01647 #if defined(netbsd1) || defined(netbsd2) 01648 #define NETSNMP_OSTYPE NETSNMP_NETBSD1ID 01649 #endif 01650 #if defined(__FreeBSD__) 01651 #define NETSNMP_OSTYPE NETSNMP_FREEBSDID 01652 #endif 01653 #if defined(irix6) || defined(irix5) 01654 #define NETSNMP_OSTYPE NETSNMP_IRIXID 01655 #endif 01656 #ifdef linux 01657 #define NETSNMP_OSTYPE NETSNMP_LINUXID 01658 #endif 01659 #if defined(bsdi2) || defined(bsdi3) || defined(bsdi4) 01660 #define NETSNMP_OSTYPE NETSNMP_BSDIID 01661 #endif 01662 #if defined(openbsd2) || defined(openbsd3) || defined(openbsd4) 01663 #define NETSNMP_OSTYPE NETSNMP_OPENBSDID 01664 #endif 01665 #ifdef WIN32 01666 #define NETSNMP_OSTYPE NETSNMP_WIN32ID 01667 #endif 01668 #if defined(aix3) || defined(aix4) || defined(aix5) || defined(aix6) 01669 #define NETSNMP_OSTYPE NETSNMP_AIXID 01670 #endif 01671 #if defined(darwin) && (darwin >= 8) 01672 #define NETSNMP_OSTYPE NETSNMP_MACOSXID 01673 #endif 01674 /* unknown */ 01675 #ifndef NETSNMP_OSTYPE 01676 #define NETSNMP_OSTYPE NETSNMP_UNKNOWNID 01677 #endif 01678 01679 /* The enterprise number has been assigned by the IANA group. */ 01680 /* Optionally, this may point to the location in the tree your */ 01681 /* company/organization has been allocated. */ 01682 /* The assigned enterprise number for the NET_SNMP MIB modules. */ 01683 #define NETSNMP_ENTERPRISE_OID 8072 01684 #define NETSNMP_ENTERPRISE_MIB 1,3,6,1,4,1,8072 01685 #define NETSNMP_ENTERPRISE_DOT_MIB 1.3.6.1.4.1.8072 01686 #define NETSNMP_ENTERPRISE_DOT_MIB_LENGTH 7 01687 01688 /* The assigned enterprise number for sysObjectID. */ 01689 #define NETSNMP_SYSTEM_MIB 1,3,6,1,4,1,8072,3,2,NETSNMP_OSTYPE 01690 #define NETSNMP_SYSTEM_DOT_MIB 1.3.6.1.4.1.8072.3.2.NETSNMP_OSTYPE 01691 #define NETSNMP_SYSTEM_DOT_MIB_LENGTH 10 01692 01693 /* The assigned enterprise number for notifications. */ 01694 #define NETSNMP_NOTIFICATION_MIB 1,3,6,1,4,1,8072,4 01695 #define NETSNMP_NOTIFICATION_DOT_MIB 1.3.6.1.4.1.8072.4 01696 #define NETSNMP_NOTIFICATION_DOT_MIB_LENGTH 8 01697 01698 /* this is the location of the ucdavis mib tree. It shouldn't be 01699 changed, as the places it is used are expected to be constant 01700 values or are directly tied to the UCD-SNMP-MIB. */ 01701 #define NETSNMP_UCDAVIS_OID 2021 01702 #define NETSNMP_UCDAVIS_MIB 1,3,6,1,4,1,2021 01703 #define NETSNMP_UCDAVIS_DOT_MIB 1.3.6.1.4.1.2021 01704 #define NETSNMP_UCDAVIS_DOT_MIB_LENGTH 7 01705 01706 /* how long to wait (seconds) for error querys before reseting the error trap.*/ 01707 #define NETSNMP_ERRORTIMELENGTH 600 01708 01709 /* Exec command to fix PROC problems */ 01710 /* %s will be replaced by the process name in error */ 01711 01712 /* #define NETSNMP_PROCFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */ 01713 01714 /* Exec command to fix EXEC problems */ 01715 /* %s will be replaced by the exec/script name in error */ 01716 01717 /* #define NETSNMP_EXECFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */ 01718 01719 /* Should exec output Cashing be used (speeds up things greatly), and 01720 if so, After how many seconds should the cache re-newed? Note: 01721 Don't define CASHETIME to disable cashing completely */ 01722 01723 #define NETSNMP_EXCACHETIME 30 01724 #define NETSNMP_CACHEFILE ".snmp-exec-cache" 01725 #define NETSNMP_MAXCACHESIZE (200*80) /* roughly 200 lines max */ 01726 01727 /* misc defaults */ 01728 01729 /* default of 100 meg minimum if the minimum size is not specified in 01730 the config file */ 01731 #define NETSNMP_DEFDISKMINIMUMSPACE 100000 01732 01733 /* default maximum load average before error */ 01734 #define NETSNMP_DEFMAXLOADAVE 12.0 01735 01736 /* max times to loop reading output from execs. */ 01737 /* Because of sleep(1)s, this will also be time to wait (in seconds) for exec 01738 to finish */ 01739 #define NETSNMP_MAXREADCOUNT 100 01740 01741 /* Set if snmpgets should block and never timeout */ 01742 /* The original CMU code had this hardcoded as = 1 */ 01743 #define NETSNMP_SNMPBLOCK 1 01744 01745 /* How long to wait before restarting the agent after a snmpset to 01746 EXTENSIBLEMIB.VERSIONMIBNUM.VERRESTARTAGENT. This is 01747 necessary to finish the snmpset reply before restarting. */ 01748 #define NETSNMP_RESTARTSLEEP 5 01749 01750 /* UNdefine to allow specifying zero-length community string */ 01751 /* #define NETSNMP_NO_ZEROLENGTH_COMMUNITY 1 */ 01752 01753 /* define to exit the agent on a bad kernel read */ 01754 /* #define NETSNMP_EXIT_ON_BAD_KLREAD */ 01755 01756 /* Number of community strings to store */ 01757 #define NETSNMP_NUM_COMMUNITIES 5 01758 01759 /* internal define */ 01760 #define NETSNMP_LASTFIELD -1 01761 01762 /* Pluggable transports. */ 01763 01764 /* This is defined if support for the UDP/IP transport domain is 01765 available. */ 01766 #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 01767 01768 /* This is defined if support for the "callback" transport domain is 01769 available. */ 01770 #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 01771 01772 /* This is defined if support for the TCP/IP transport domain is 01773 available. */ 01774 #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 01775 01776 /* This is defined if support for the Unix transport domain 01777 (a.k.a. "local IPC") is available. */ 01778 #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 01779 01780 /* This is defined if support for the AAL5 PVC transport domain is 01781 available. */ 01782 /* #undef NETSNMP_TRANSPORT_AAL5PVC_DOMAIN */ 01783 01784 /* This is defined if support for the IPX transport domain is 01785 available. */ 01786 #define NETSNMP_TRANSPORT_IPX_DOMAIN 1 01787 01788 /* This is defined if support for the UDP/IPv6 transport domain is 01789 available. */ 01790 #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 01791 01792 /* This is defined if support for the TCP/IPv6 transport domain is 01793 available. */ 01794 #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 01795 01796 /* This is defined if support for the TLS transport domain is 01797 available. */ 01798 /* #undef NETSNMP_TRANSPORT_TLS_DOMAIN */ 01799 01800 /* This is defined if support for the Alias transport domain is 01801 available. */ 01802 #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 01803 01804 /* This is defined if support for the SSH transport domain is 01805 available. */ 01806 /* #undef NETSNMP_TRANSPORT_SSH_DOMAIN */ 01807 01808 /* This is defined if support for the DTLS/UDP transport domain is 01809 available. */ 01810 /* #undef NETSNMP_TRANSPORT_DTLSUDP_DOMAIN */ 01811 01812 /* This is defined if support for stdin/out transport domain is available. */ 01813 /* #undef NETSNMP_TRANSPORT_STD_DOMAIN */ 01814 01815 /* define this if the USM security module is available */ 01816 #define NETSNMP_SECMOD_USM 1 01817 01818 /* define this if the KSM (kerberos based snmp) security module is available */ 01819 /* #undef NETSNMP_SECMOD_KSM */ 01820 01821 /* define this if the local security module is available */ 01822 /* #undef NETSNMP_SECMOD_LOCALSM */ 01823 01824 /* define if configured as a "mini-agent" */ 01825 /* #undef NETSNMP_MINI_AGENT */ 01826 01827 /* this is the location of the net-snmp mib tree. It shouldn't be 01828 changed, as the places it is used are expected to be constant 01829 values or are directly tied to the UCD-SNMP-MIB. */ 01830 #define NETSNMP_OID 8072 01831 #define NETSNMP_MIB 1,3,6,1,4,1,8072 01832 #define NETSNMP_DOT_MIB 1.3.6.1.4.1.8072 01833 #define NETSNMP_DOT_MIB_LENGTH 7 01834 01835 /* pattern for temporary file names */ 01836 #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" 01837 01838 /* 01839 * this must be before the system/machine includes, to allow them to 01840 * override and turn off inlining. To do so, they should do the 01841 * following: 01842 * 01843 * #undef NETSNMP_ENABLE_INLINE 01844 * #define NETSNMP_ENABLE_INLINE 0 01845 * 01846 * A user having problems with their compiler can also turn off 01847 * the use of inline by defining NETSNMP_NO_INLINE via their cflags: 01848 * 01849 * -DNETSNMP_NO_INLINE 01850 * 01851 * Header and source files should only test against NETSNMP_USE_INLINE: 01852 * 01853 * #ifdef NETSNMP_USE_INLINE 01854 * NETSNMP_INLINE function(int parm) { return parm -1; } 01855 * #endif 01856 * 01857 * Functions which should be static, regardless of whether or not inline 01858 * is available or enabled should use the NETSNMP_STATIC_INLINE macro, 01859 * like so: 01860 * 01861 * NETSNMP_STATIC_INLINE function(int parm) { return parm -1; } 01862 * 01863 * NOT like this: 01864 * 01865 * static NETSNMP_INLINE function(int parm) { return parm -1; } 01866 * 01867 */ 01868 #ifdef NETSNMP_BROKEN_INLINE 01869 # define NETSNMP_ENABLE_INLINE 0 01870 #else 01871 # define NETSNMP_ENABLE_INLINE 1 01872 #endif 01873 01874 #include NETSNMP_SYSTEM_INCLUDE_FILE 01875 #include NETSNMP_MACHINE_INCLUDE_FILE 01876 01877 #if NETSNMP_ENABLE_INLINE && !defined(NETSNMP_NO_INLINE) 01878 # define NETSNMP_USE_INLINE 1 01879 # ifndef NETSNMP_INLINE 01880 # define NETSNMP_INLINE inline 01881 # endif 01882 # ifndef NETSNMP_STATIC_INLINE 01883 # define NETSNMP_STATIC_INLINE static inline 01884 # endif 01885 #else 01886 # define NETSNMP_INLINE 01887 # define NETSNMP_STATIC_INLINE static 01888 #endif 01889 01890 #ifndef NETSNMP_IMPORT 01891 # define NETSNMP_IMPORT extern 01892 #endif 01893 01894 /* comment the next line if you are compiling with libsnmp.h 01895 and are not using the UC-Davis SNMP library. */ 01896 #define UCD_SNMP_LIBRARY 1 01897 01898 /* add in recent CMU library extensions (not complete) */ 01899 /* #undef CMU_COMPATIBLE */ 01900 01901 /* final conclusion on nlist usage */ 01902 #if defined(HAVE_NLIST) && defined(HAVE_STRUCT_NLIST_N_VALUE) && !defined(NETSNMP_DONT_USE_NLIST) && !defined(NETSNMP_NO_KMEM_USAGE) 01903 #define NETSNMP_CAN_USE_NLIST 01904 #endif 01905 01906 01907 /* ********* NETSNMP_MARK_BEGIN_LEGACY_DEFINITIONS *********/ 01908 /* 01909 * existing definitions prior to Net-SNMP 5.4 01910 * 01911 * do not add anything new here 01912 * 01913 */ 01914 01915 #ifndef NETSNMP_NO_LEGACY_DEFINITIONS 01916 01917 #ifdef NETSNMP_DEFAULT_SNMP_VERSION 01918 # define DEFAULT_SNMP_VERSION NETSNMP_DEFAULT_SNMP_VERSION 01919 #endif 01920 01921 #ifdef NETSNMP_SNMPV1 01922 # define SNMPV1 NETSNMP_SNMPV1 01923 #endif 01924 01925 #ifdef NETSNMP_SNMPV2ANY 01926 # define SNMPV2ANY NETSNMP_SNMPV2ANY 01927 #endif 01928 01929 #ifdef NETSNMP_SNMPV2AUTH 01930 # define SNMPV2AUTH NETSNMP_SNMPV2AUTH 01931 #endif 01932 01933 #ifdef NETSNMP_DEFAULT_MIBS 01934 # define DEFAULT_MIBS NETSNMP_DEFAULT_MIBS 01935 #endif 01936 01937 #ifdef NETSNMP_DEFAULT_MIBDIRS 01938 # define DEFAULT_MIBDIRS NETSNMP_DEFAULT_MIBDIRS 01939 #endif 01940 01941 #ifdef NETSNMP_DEFAULT_MIBFILES 01942 # define DEFAULT_MIBFILES NETSNMP_DEFAULT_MIBFILES 01943 #endif 01944 01945 #ifdef NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 01946 # define OPAQUE_SPECIAL_TYPES NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 01947 #endif 01948 01949 #ifdef NETSNMP_ENABLE_SCAPI_AUTHPRIV 01950 # define SCAPI_AUTHPRIV NETSNMP_ENABLE_SCAPI_AUTHPRIV 01951 #endif 01952 01953 #ifdef NETSNMP_USE_INTERNAL_MD5 01954 # define USE_INTERNAL_MD5 NETSNMP_USE_INTERNAL_MD5 01955 #endif 01956 01957 #ifdef NETSNMP_USE_PKCS11 01958 # define USE_PKCS NETSNMP_USE_PKCS11 01959 #endif 01960 01961 #ifdef NETSNMP_USE_OPENSSL 01962 # define USE_OPENSSL NETSNMP_USE_OPENSSL 01963 #endif 01964 01965 #ifdef NETSNMP_NO_DEBUGGING 01966 # define SNMP_NO_DEBUGGING NETSNMP_NO_DEBUGGING 01967 #endif 01968 01969 #ifdef NETSNMP_ALWAYS_DEBUG 01970 # define SNMP_ALWAYS_DEBUG NETSNMP_ALWAYS_DEBUG 01971 #endif 01972 01973 #ifdef NETSNMP_USE_REVERSE_ASNENCODING 01974 # define USE_REVERSE_ASNENCODING NETSNMP_USE_REVERSE_ASNENCODING 01975 #endif 01976 #ifdef NETSNMP_DEFAULT_ASNENCODING_DIRECTION 01977 # define DEFAULT_ASNENCODING_DIRECTION NETSNMP_DEFAULT_ASNENCODING_DIRECTION 01978 #endif 01979 01980 #define PERSISTENT_DIRECTORY NETSNMP_PERSISTENT_DIRECTORY 01981 #define PERSISTENT_MASK NETSNMP_PERSISTENT_MASK 01982 #define AGENT_DIRECTORY_MODE NETSNMP_AGENT_DIRECTORY_MODE 01983 #define MAX_PERSISTENT_BACKUPS NETSNMP_MAX_PERSISTENT_BACKUPS 01984 #define SYSTEM_INCLUDE_FILE NETSNMP_SYSTEM_INCLUDE_FILE 01985 #define MACHINE_INCLUDE_FILE NETSNMP_MACHINE_INCLUDE_FILE 01986 01987 #ifdef NETSNMP_DEFAULT_SERVER_SEND_BUF 01988 # define DEFAULT_SERVER_SEND_BUF NETSNMP_DEFAULT_SERVER_SEND_BUF 01989 #endif 01990 #ifdef NETSNMP_DEFAULT_SERVER_RECV_BUF 01991 # define DEFAULT_SERVER_RECV_BUF NETSNMP_DEFAULT_SERVER_RECV_BUF 01992 #endif 01993 #ifdef NETSNMP_DEFAULT_CLIENT_SEND_BUF 01994 # define DEFAULT_CLIENT_SEND_BUF NETSNMP_DEFAULT_CLIENT_SEND_BUF 01995 #endif 01996 #ifdef NETSNMP_DEFAULT_CLIENT_RECV_BUF 01997 # define DEFAULT_CLIENT_RECV_BUF NETSNMP_DEFAULT_CLIENT_RECV_BUF 01998 #endif 01999 02000 #ifdef NETSNMP_LOGFILE 02001 # define LOGFILE NETSNMP_LOGFILE 02002 #endif 02003 02004 #ifdef NETSNMP_SYS_CONTACT 02005 # define SYS_CONTACT NETSNMP_SYS_CONTACT 02006 #endif 02007 02008 #ifdef NETSNMP_SYS_LOC 02009 # define SYS_LOC NETSNMP_SYS_LOC 02010 #endif 02011 02012 #ifdef NETSNMP_USE_LIBWRAP 02013 # define USE_LIBWRAP NETSNMP_USE_LIBWRAP 02014 #endif 02015 02016 #ifdef NETSNMP_ENABLE_TESTING_CODE 02017 # define SNMP_TESTING_CODE NETSNMP_ENABLE_TESTING_CODE 02018 #endif 02019 02020 #ifdef NETSNMP_NO_ROOT_ACCESS 02021 # define NO_ROOT_ACCESS NETSNMP_NO_ROOT_ACCESS 02022 #endif 02023 02024 #ifdef NETSNMP_NO_KMEM_USAGE 02025 # define NO_KMEM_USAGE NETSNMP_NO_KMEM_USAGE 02026 #endif 02027 02028 #ifdef NETSNMP_NO_DUMMY_VALUES 02029 # define NO_DUMMY_VALUES NETSNMP_NO_DUMMY_VALUES 02030 #endif 02031 02032 #define VERS_DESC NETSNMP_VERS_DESC 02033 #define SYS_NAME NETSNMP_SYS_NAME 02034 02035 #define PROCMIBNUM NETSNMP_PROCMIBNUM 02036 #define SHELLMIBNUM NETSNMP_SHELLMIBNUM 02037 #define MEMMIBNUM NETSNMP_MEMMIBNUM 02038 #define DISKMIBNUM NETSNMP_DISKMIBNUM 02039 02040 #define LOADAVEMIBNUM NETSNMP_LOADAVEMIBNUM 02041 #define VERSIONMIBNUM NETSNMP_VERSIONMIBNUM 02042 #define ERRORMIBNUM NETSNMP_ERRORMIBNUM 02043 #define AGENTID NETSNMP_AGENTID 02044 02045 #define HPUX9ID NETSNMP_HPUX9ID 02046 #define SUNOS4ID NETSNMP_SUNOS4ID 02047 #define SOLARISID NETSNMP_SOLARISID 02048 #define OSFID NETSNMP_OSFID 02049 #define ULTRIXID NETSNMP_ULTRIXID 02050 #define HPUX10ID NETSNMP_HPUX10ID 02051 #define NETBSD1ID NETSNMP_NETBSD1ID 02052 #define FREEBSDID NETSNMP_FREEBSDID 02053 #define IRIXID NETSNMP_IRIXID 02054 #define LINUXID NETSNMP_LINUXID 02055 #define BSDIID NETSNMP_BSDIID 02056 #define OPENBSDID NETSNMP_OPENBSDID 02057 #define WIN32ID NETSNMP_WIN32ID 02058 #define HPUX11ID NETSNMP_HPUX11ID 02059 #define AIXID NETSNMP_AIXID 02060 #define MACOSXID NETSNMP_MACOSXID 02061 #define UNKNOWNID NETSNMP_UNKNOWNID 02062 02063 #define ENTERPRISE_OID NETSNMP_ENTERPRISE_OID 02064 #define ENTERPRISE_MIB NETSNMP_ENTERPRISE_MIB 02065 #define ENTERPRISE_DOT_MIB NETSNMP_ENTERPRISE_DOT_MIB 02066 #define ENTERPRISE_DOT_MIB_LENGTH NETSNMP_ENTERPRISE_DOT_MIB_LENGTH 02067 02068 #define SYSTEM_MIB NETSNMP_SYSTEM_MIB 02069 #define SYSTEM_DOT_MIB NETSNMP_SYSTEM_DOT_MIB 02070 #define SYSTEM_DOT_MIB_LENGTH NETSNMP_SYSTEM_DOT_MIB_LENGTH 02071 02072 #define NOTIFICATION_MIB NETSNMP_NOTIFICATION_MIB 02073 #define NOTIFICATION_DOT_MIB NETSNMP_NOTIFICATION_DOT_MIB 02074 #define NOTIFICATION_DOT_MIB_LENGTH NETSNMP_NOTIFICATION_DOT_MIB_LENGTH 02075 02076 #define UCDAVIS_OID NETSNMP_UCDAVIS_OID 02077 #define UCDAVIS_MIB NETSNMP_UCDAVIS_MIB 02078 #define UCDAVIS_DOT_MIB NETSNMP_UCDAVIS_DOT_MIB 02079 #define UCDAVIS_DOT_MIB_LENGTH NETSNMP_UCDAVIS_DOT_MIB_LENGTH 02080 02081 #define ERRORTIMELENGTH NETSNMP_ERRORTIMELENGTH 02082 02083 #ifdef NETSNMP_PROCFIXCMD 02084 # define PROCFIXCMD NETSNMP_PROCFIXCMD 02085 #endif 02086 02087 #ifdef NETSNMP_EXECFIXCMD 02088 # define EXECFIXCMD NETSNMP_EXECFIXCMD 02089 #endif 02090 02091 #define EXCACHETIME NETSNMP_EXCACHETIME 02092 #define CACHEFILE NETSNMP_CACHEFILE 02093 #define MAXCACHESIZE NETSNMP_MAXCACHESIZE 02094 02095 #define DEFDISKMINIMUMSPACE NETSNMP_DEFDISKMINIMUMSPACE 02096 #define DEFMAXLOADAVE NETSNMP_DEFMAXLOADAVE 02097 #define MAXREADCOUNT NETSNMP_MAXREADCOUNT 02098 02099 #define SNMPBLOCK NETSNMP_SNMPBLOCK 02100 #define RESTARTSLEEP NETSNMP_RESTARTSLEEP 02101 02102 #define NUM_COMMUNITIES NETSNMP_NUM_COMMUNITIES 02103 02104 #ifdef NETSNMP_NO_ZEROLENGTH_COMMUNITY 02105 # define NO_ZEROLENGTH_COMMUNITY NETSNMP_NO_ZEROLENGTH_COMMUNITY 02106 #endif 02107 02108 #ifdef NETSNMP_EXIT_ON_BAD_KLREAD 02109 # define EXIT_ON_BAD_KLREAD NETSNMP_EXIT_ON_BAD_KLREAD 02110 #endif 02111 02112 #define LASTFIELD NETSNMP_LASTFIELD 02113 02114 #define CONFIGURE_OPTIONS NETSNMP_CONFIGURE_OPTIONS 02115 02116 #ifdef NETSNMP_TRANSPORT_UDP_DOMAIN 02117 # define SNMP_TRANSPORT_UDP_DOMAIN NETSNMP_TRANSPORT_UDP_DOMAIN 02118 #endif 02119 02120 #ifdef NETSNMP_TRANSPORT_CALLBACK_DOMAIN 02121 # define SNMP_TRANSPORT_CALLBACK_DOMAIN NETSNMP_TRANSPORT_CALLBACK_DOMAIN 02122 #endif 02123 02124 #ifdef NETSNMP_TRANSPORT_TCP_DOMAIN 02125 # define SNMP_TRANSPORT_TCP_DOMAIN NETSNMP_TRANSPORT_TCP_DOMAIN 02126 #endif 02127 02128 #ifdef NETSNMP_TRANSPORT_UNIX_DOMAIN 02129 # define SNMP_TRANSPORT_UNIX_DOMAIN NETSNMP_TRANSPORT_UNIX_DOMAIN 02130 #endif 02131 02132 #ifdef NETSNMP_TRANSPORT_AAL5PVC_DOMAIN 02133 # define SNMP_TRANSPORT_AAL5PVC_DOMAIN NETSNMP_TRANSPORT_AAL5PVC_DOMAIN 02134 #endif 02135 02136 #ifdef NETSNMP_TRANSPORT_IPX_DOMAIN 02137 # define SNMP_TRANSPORT_IPX_DOMAIN NETSNMP_TRANSPORT_IPX_DOMAIN 02138 #endif 02139 02140 #ifdef NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 02141 # define SNMP_TRANSPORT_UDPIPV6_DOMAIN NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 02142 #endif 02143 02144 #ifdef NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 02145 # define SNMP_TRANSPORT_TCPIPV6_DOMAIN NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 02146 #endif 02147 02148 #ifdef NETSNMP_TRANSPORT_TLS_DOMAIN 02149 # define SNMP_TRANSPORT_TLS_DOMAIN NETSNMP_TRANSPORT_TLS_DOMAIN 02150 #endif 02151 02152 #ifdef NETSNMP_TRANSPORT_STD_DOMAIN 02153 # define SNMP_TRANSPORT_STD_DOMAIN NETSNMP_TRANSPORT_STD_DOMAIN 02154 #endif 02155 02156 #ifdef NETSNMP_SECMOD_USM 02157 # define SNMP_SECMOD_USM NETSNMP_SECMOD_USM 02158 #endif 02159 02160 #ifdef NETSNMP_SECMOD_KSM 02161 # define SNMP_SECMOD_KSM NETSNMP_SECMOD_KSM 02162 #endif 02163 02164 #ifdef NETSNMP_SECMOD_LOCALSM 02165 # define SNMP_SECMOD_LOCALSM NETSNMP_SECMOD_LOCALSM 02166 #endif 02167 02168 #ifdef NETSNMP_REENTRANT 02169 # define NS_REENTRANT NETSNMP_REENTRANT 02170 #endif 02171 02172 #ifdef NETSNMP_ENABLE_IPV6 02173 # define INET6 NETSNMP_ENABLE_IPV6 02174 #endif 02175 02176 #ifdef NETSNMP_ENABLE_LOCAL_SMUX 02177 # define LOCAL_SMUX NETSNMP_ENABLE_LOCAL_SMUX 02178 #endif 02179 02180 #ifdef NETSNMP_AGENTX_DOM_SOCK_ONLY 02181 # define AGENTX_DOM_SOCK_ONLY NETSNMP_AGENTX_DOM_SOCK_ONLY 02182 #endif 02183 02184 #ifdef NETSNMP_SNMPTRAPD_DISABLE_AGENTX 02185 # define SNMPTRAPD_DISABLE_AGENTX 02186 #endif 02187 02188 #ifdef NETSNMP_USE_KERBEROS_MIT 02189 # define MIT_NEW_CRYPTO NETSNMP_USE_KERBEROS_MIT 02190 #endif 02191 02192 #ifdef NETSNMP_USE_KERBEROS_HEIMDAL 02193 # define HEIMDAL NETSNMP_USE_KERBEROS_HEIMDAL 02194 #endif 02195 02196 #ifdef NETSNMP_AGENTX_SOCKET 02197 # define AGENTX_SOCKET NETSNMP_AGENTX_SOCKET 02198 #endif 02199 02200 #ifdef NETSNMP_DISABLE_MIB_LOADING 02201 # define DISABLE_MIB_LOADING NETSNMP_DISABLE_MIB_LOADING 02202 #endif 02203 02204 #ifdef NETSNMP_DISABLE_SNMPV1 02205 # define DISABLE_SNMPV1 NETSNMP_DISABLE_SNMPV1 02206 #endif 02207 02208 #ifdef NETSNMP_DISABLE_SNMPV2C 02209 # define DISABLE_SNMPV2C NETSNMP_DISABLE_SNMPV2C 02210 #endif 02211 02212 #ifdef NETSNMP_DISABLE_SET_SUPPORT 02213 # define DISABLE_SET_SUPPORT NETSNMP_DISABLE_SET_SUPPORT 02214 #endif 02215 02216 #ifdef NETSNMP_DISABLE_DES 02217 # define DISABLE_DES NETSNMP_DISABLE_DES 02218 #endif 02219 02220 #ifdef NETSNMP_DISABLE_MD5 02221 # define DISABLE_MD5 NETSNMP_DISABLE_MD5 02222 #endif 02223 02224 #ifdef NETSNMP_DONT_USE_NLIST 02225 # define DONT_USE_NLIST NETSNMP_DONT_USE_NLIST 02226 #endif 02227 02228 #ifdef NETSNMP_CAN_USE_NLIST 02229 # define CAN_USE_NLIST NETSNMP_CAN_USE_NLIST 02230 #endif 02231 02232 #ifdef NETSNMP_CAN_USE_SYSCTL 02233 # define CAN_USE_SYSCTL NETSNMP_CAN_USE_SYSCTL 02234 #endif 02235 02236 #endif /* NETSNMP_NO_LEGACY_DEFINITIONS */ 02237 02238 02239 #endif /* NET_SNMP_CONFIG_H */
Last modified: Wednesday, 01-Aug-2018 04:41:28 UTC
For questions regarding web content and site functionality, please write to the net-snmp-users mail list.