xref: /freebsd/lib/libpcap/config.h (revision 830940567b49bb0c08dfaed40418999e76616909)
1 /* $FreeBSD$ */
2 /* This is an edited copy of the config.h generated by configure. */
3 
4 /* config.h.  Generated by configure.  */
5 /* config.h.in.  Generated from configure.in by autoheader.  */
6 /* Long story short: aclocal.m4 depends on autoconf 2.13
7  * implementation details wrt "const"; newer versions
8  * have different implementation details so for now we
9  * put "const" here.  This may cause duplicate definitions
10  * in config.h but that should be OK since they're the same.
11  */
12 /* #undef const */
13 
14 /* Enable optimizer debugging */
15 /* #undef BDEBUG */
16 
17 /* define if you have a cloning BPF device */
18 #define HAVE_CLONING_BPF 1
19 
20 /* define if you have dag_get_stream_erf_types() */
21 /* #undef HAVE_DAG_GET_STREAM_ERF_TYPES */
22 
23 /* define if you have the DAG API */
24 /* #undef HAVE_DAG_API */
25 
26 /* define if you have dag_get_erf_types() */
27 /* #undef HAVE_DAG_GET_ERF_TYPES */
28 
29 /* define if you have streams capable DAG API */
30 /* #undef HAVE_DAG_STREAMS_API */
31 
32 /* Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
33    don't. */
34 #define HAVE_DECL_ETHER_HOSTTON 1
35 
36 /* if passive_req_t primitive exists */
37 /* #undef HAVE_DLPI_PASSIVE */
38 
39 /* define if you have a /dev/dlpi */
40 /* #undef HAVE_DEV_DLPI */
41 
42 /* Define to 1 if you have the `ether_hostton' function. */
43 #define HAVE_ETHER_HOSTTON 1
44 
45 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
46 #define HAVE_FSEEKO 1
47 
48 /* on HP-UX 10.20 or later */
49 /* #undef HAVE_HPUX10_20_OR_LATER */
50 
51 /* on HP-UX 9.x */
52 /* #undef HAVE_HPUX9 */
53 
54 /* if ppa_info_t_dl_module_id exists */
55 /* #undef HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 */
56 
57 /* Define to 1 if you have the <inttypes.h> header file. */
58 #define HAVE_INTTYPES_H 1
59 
60 /* if libdlpi exists */
61 /* #undef HAVE_LIBDLPI */
62 
63 /* Define to 1 if you have the <limits.h> header file. */
64 #define HAVE_LIMITS_H 1
65 
66 /* if tp_vlan_tci exists */
67 /* #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI */
68 
69 /* Define to 1 if you have the <linux/wireless.h> header file. */
70 /* #undef HAVE_LINUX_WIRELESS_H */
71 
72 /* Define to 1 if you have the <memory.h> header file. */
73 #define HAVE_MEMORY_H 1
74 
75 /* Define to 1 if you have the <netinet/ether.h> header file. */
76 /* #undef HAVE_NETINET_ETHER_H */
77 
78 /* Define to 1 if you have the <netinet/if_ether.h> header file. */
79 #define HAVE_NETINET_IF_ETHER_H 1
80 
81 /* Define to 1 if you have the <net/if_media.h> header file. */
82 #define HAVE_NET_IF_MEDIA_H 1
83 
84 /* Define to 1 if you have the <net/pfvar.h> header file. */
85 /* See Makefile */
86 /* #undef HAVE_NET_PFVAR_H */
87 
88 /* if there's an os_proto.h */
89 /* #undef HAVE_OS_PROTO_H */
90 
91 /* Define to 1 if you have the <paths.h> header file. */
92 #define HAVE_PATHS_H 1
93 
94 /* define if you have a /proc/net/dev */
95 /* #undef HAVE_PROC_NET_DEV */
96 
97 /* define if you have a Septel API */
98 /* #undef HAVE_SEPTEL_API */
99 
100 /* Define to 1 if you have the `snprintf' function. */
101 #define HAVE_SNPRINTF 1
102 
103 /* if struct sockaddr has sa_len */
104 #define HAVE_SOCKADDR_SA_LEN 1
105 
106 /* if struct sockaddr_storage exists */
107 #define HAVE_SOCKADDR_STORAGE 1
108 
109 /* define if socklen_t is defined */
110 #define HAVE_SOCKLEN_T 1
111 
112 /* On solaris */
113 /* #undef HAVE_SOLARIS */
114 
115 /* Define to 1 if you have the <stdint.h> header file. */
116 #define HAVE_STDINT_H 1
117 
118 /* Define to 1 if you have the <stdlib.h> header file. */
119 #define HAVE_STDLIB_H 1
120 
121 /* Define to 1 if you have the `strerror' function. */
122 #define HAVE_STRERROR 1
123 
124 /* Define to 1 if you have the <strings.h> header file. */
125 #define HAVE_STRINGS_H 1
126 
127 /* Define to 1 if you have the <string.h> header file. */
128 #define HAVE_STRING_H 1
129 
130 /* Define to 1 if you have the `strlcpy' function. */
131 #define HAVE_STRLCPY 1
132 
133 /* Define to 1 if the system has the type `struct ether_addr'. */
134 /* #undef HAVE_STRUCT_ETHER_ADDR */
135 
136 /* Define to 1 if you have the <sys/bufmod.h> header file. */
137 /* #undef HAVE_SYS_BUFMOD_H */
138 
139 /* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
140 /* #undef HAVE_SYS_DLPI_EXT_H */
141 
142 /* Define to 1 if you have the <sys/ioccom.h> header file. */
143 #define HAVE_SYS_IOCCOM_H 1
144 
145 /* Define to 1 if you have the <sys/sockio.h> header file. */
146 #define HAVE_SYS_SOCKIO_H 1
147 
148 /* Define to 1 if you have the <sys/stat.h> header file. */
149 #define HAVE_SYS_STAT_H 1
150 
151 /* Define to 1 if you have the <sys/types.h> header file. */
152 #define HAVE_SYS_TYPES_H 1
153 
154 /* if if_packet.h has tpacket_stats defined */
155 /* #undef HAVE_TPACKET_STATS */
156 
157 /* Define to 1 if you have the <unistd.h> header file. */
158 #define HAVE_UNISTD_H 1
159 
160 /* define if version.h is generated in the build procedure */
161 #define HAVE_VERSION_H 1
162 
163 /* Define to 1 if you have the `vsnprintf' function. */
164 #define HAVE_VSNPRINTF 1
165 
166 /* define if the system supports zerocopy BPF */
167 #define	HAVE_ZEROCOPY_BPF 1
168 
169 /* define if your compiler has __attribute__ */
170 #define HAVE___ATTRIBUTE__ 1
171 
172 /* IPv6 */
173 /* #undef INET6 */
174 
175 /* if unaligned access fails */
176 /* #undef LBL_ALIGN */
177 
178 /* path for device for USB sniffing */
179 /* #undef LINUX_USB_MON_DEV */
180 
181 /* Define to 1 if netinet/ether.h declares `ether_hostton' */
182 /* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
183 
184 /* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
185 #define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON
186 
187 /* do not use protochain */
188 /* #undef NO_PROTOCHAIN */
189 
190 /* Define to the address where bug reports for this package should be sent. */
191 #define PACKAGE_BUGREPORT ""
192 
193 /* Define to the full name of this package. */
194 #define PACKAGE_NAME ""
195 
196 /* Define to the full name and version of this package. */
197 #define PACKAGE_STRING ""
198 
199 /* Define to the one symbol short name of this package. */
200 #define PACKAGE_TARNAME ""
201 
202 /* Define to the version of this package. */
203 #define PACKAGE_VERSION ""
204 
205 /* /dev/dlpi directory */
206 /* #undef PCAP_DEV_PREFIX */
207 
208 /* target host supports Bluetooth sniffing */
209 /* #undef PCAP_SUPPORT_BT */
210 
211 /* target host supports USB sniffing */
212 /* #undef PCAP_SUPPORT_USB */
213 
214 /* include ACN support */
215 /* #undef SITA */
216 
217 /* Define to 1 if you have the ANSI C header files. */
218 #define STDC_HEADERS 1
219 
220 /* Enable parser debugging */
221 /* #undef YYDEBUG */
222 
223 /* needed on HP-UX */
224 /* #undef _HPUX_SOURCE */
225 
226 /* Number of bits in a file offset, on hosts where this is settable. */
227 /* #undef _FILE_OFFSET_BITS */
228 
229 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).  */
230 /* #undef _LARGEFILE_SOURCE */
231 
232 /* Define for large files, on AIX-style hosts. */
233 /* #undef _LARGE_FILES */
234 
235 /* define on AIX to get certain functions */
236 /* #undef _SUN */
237 
238 /* Define as token for inline if inlining supported */
239 #define inline inline
240 
241 /* on sinix */
242 /* #undef sinix */
243 
244 /* if we have u_int16_t */
245 /* #undef u_int16_t */
246 
247 /* if we have u_int32_t */
248 /* #undef u_int32_t */
249 
250 /* if we have u_int64_t */
251 /* #undef u_int64_t */
252 
253 /* if we have u_int8_t */
254 /* #undef u_int8_t */
255