1 /* $FreeBSD: src/lib/libpcap/config.h,v 1.1.2.2 2002/07/05 14:40:00 fenner Exp $ */ 2 /* $DragonFly: src/lib/libpcap/config.h,v 1.3 2004/05/15 12:28:33 eirikn Exp $ */ 3 /* This is an edited copy of the config.h generated by configure. */ 4 5 /* config.h. Generated automatically by configure. */ 6 /* config.h.in. Generated automatically from configure.in by autoheader. */ 7 8 /* Define as __inline if that's what the C compiler calls it. */ 9 /* #undef inline */ 10 11 /* Long story short: aclocal.m4 depends on autoconf 2.13 12 * implementation details wrt "const"; newer versions 13 * have different implementation details so for now we 14 * put "const" here. This may cause duplicate definitions 15 * in config.h but that should be OK since they're the same. 16 */ 17 /* #undef const */ 18 19 /* Define if you have the ether_hostton function. */ 20 #define HAVE_ETHER_HOSTTON 1 21 22 /* Define if you have the snprintf function. */ 23 #define HAVE_SNPRINTF 1 24 25 /* Define if you have the strerror function. */ 26 #define HAVE_STRERROR 1 27 28 /* Define if you have the strlcpy function. */ 29 #define HAVE_STRLCPY 1 30 31 /* Define if you have the vsnprintf function. */ 32 #define HAVE_VSNPRINTF 1 33 34 /* Define if you have the <ifaddrs.h> header file. */ 35 #define HAVE_IFADDRS_H 1 36 37 /* Define if you have the <limits.h> header file. */ 38 #define HAVE_LIMITS_H 1 39 40 /* Define if you have the <netinet/if_ether.h> header file. */ 41 #define HAVE_NETINET_IF_ETHER_H 1 42 43 /* Define if you have the <sys/bufmod.h> header file. */ 44 /* #undef HAVE_SYS_BUFMOD_H */ 45 46 /* Define if you have the <sys/dlpi_ext.h> header file. */ 47 /* #undef HAVE_SYS_DLPI_EXT_H */ 48 49 /* Define if you have the <sys/ioccom.h> header file. */ 50 #define HAVE_SYS_IOCCOM_H 1 51 52 /* Define if you have the <sys/sockio.h> header file. */ 53 #define HAVE_SYS_SOCKIO_H 1 54 55 /* needed on HP-UX */ 56 /* #undef _HPUX_SOURCE */ 57 58 /* define if your compiler has __attribute__ */ 59 #define HAVE___ATTRIBUTE__ 1 60 61 /* if we have u_int8_t */ 62 /* #undef u_int8_t */ 63 64 /* if we have u_int16_t */ 65 /* #undef u_int16_t */ 66 67 /* if we have u_int32_t */ 68 /* #undef u_int32_t */ 69 70 /* do not use protochain */ 71 /* #undef NO_PROTOCHAIN */ 72 73 /* IPv6 */ 74 /* Handled by Makefile, to handle NOINET6 */ 75 /* #define INET6 1 */ 76 77 /* Enable optimizer debugging */ 78 /* #undef BDEBUG */ 79 80 /* Enable parser debugging */ 81 /* #undef YYDEBUG */ 82 83 /* define if you have a /dev/dlpi */ 84 /* #undef HAVE_DEV_DLPI */ 85 86 /* /dev/dlpi directory */ 87 /* #undef PCAP_DEV_PREFIX */ 88 89 /* if if_packet.h has tpacket_stats defined */ 90 /* #undef HAVE_TPACKET_STATS */ 91 92 /* define if you have a /proc/net/dev */ 93 /* #undef HAVE_PROC_NET_DEV */ 94 95 /* define on AIX to get certain functions */ 96 /* #undef _SUN */ 97 98 /* on HP-UX 9.x */ 99 /* #undef HAVE_HPUX9 */ 100 101 /* on HP-UX 10.20 */ 102 /* #undef HAVE_HPUX10_20 */ 103 104 /* on sinix */ 105 /* #undef sinix */ 106 107 /* On solaris */ 108 /* #undef HAVE_SOLARIS */ 109 110 /* if there's an os_proto.h */ 111 /* #undef HAVE_OS_PROTO_H */ 112 113 /* if struct sockaddr has sa_len */ 114 #define HAVE_SOCKADDR_SA_LEN 1 115 116 /* if ppa_info_t_dl_module_id exists */ 117 /* #undef HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 */ 118 119 /* if unaligned access fails */ 120 /* #undef LBL_ALIGN */ 121 122