xref: /freebsd/lib/libpcap/config.h (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1 /* $FreeBSD$ */
2 /* This is an edited copy of the config.h generated by configure. */
3 
4 /* config.h.  Generated from config.h.in by configure.  */
5 /* config.h.in.  Generated from configure.ac by autoheader.  */
6 
7 /* Define to 1 if you have the `asprintf' function. */
8 #define HAVE_ASPRINTF 1
9 
10 /* Define to 1 if you have the `ether_hostton' function. */
11 #define HAVE_ETHER_HOSTTON 1
12 
13 /* Define to 1 if you have the `ffs' function. */
14 #define HAVE_FFS 1
15 
16 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
17 #define HAVE_FSEEKO 1
18 
19 /* on HP-UX 10.20 or later */
20 /* #undef HAVE_HPUX10_20_OR_LATER */
21 
22 /* on HP-UX 9.x */
23 /* #undef HAVE_HPUX9 */
24 
25 /* Define to 1 if you have the <inttypes.h> header file. */
26 #define HAVE_INTTYPES_H 1
27 
28 /* if libdlpi exists */
29 /* #undef HAVE_LIBDLPI */
30 
31 /* if libnl exists */
32 /* #undef HAVE_LIBNL */
33 
34 /* if libnl exists and is version 2.x */
35 /* #undef HAVE_LIBNL_2_x */
36 
37 /* if libnl exists and is version 3.x */
38 /* #undef HAVE_LIBNL_3_x */
39 
40 /* libnl has NLE_FAILURE */
41 /* #undef HAVE_LIBNL_NLE */
42 
43 /* libnl has new-style socket api */
44 /* #undef HAVE_LIBNL_SOCKETS */
45 
46 /* Define to 1 if you have the <limits.h> header file. */
47 #define HAVE_LIMITS_H 1
48 
49 /* Define to 1 if you have the <linux/compiler.h> header file. */
50 /* #undef HAVE_LINUX_COMPILER_H */
51 
52 /* Define to 1 if you have the <linux/ethtool.h> header file. */
53 /* #undef HAVE_LINUX_ETHTOOL_H */
54 
55 /* Define to 1 if you have the <memory.h> header file. */
56 #define HAVE_MEMORY_H 1
57 
58 /* Define to 1 if you have the <netpacket/packet.h> header file. */
59 /* #undef HAVE_NETPACKET_PACKET_H */
60 
61 /* Define to 1 if you have the <net/bpf.h> header file. */
62 #define HAVE_NET_BPF_H 1
63 
64 /* Define to 1 if you have the <net/if_media.h> header file. */
65 #define HAVE_NET_IF_MEDIA_H 1
66 
67 /* Define to 1 if you have the <net/pfvar.h> header file. */
68 /* See Makefile */
69 /* #undef HAVE_NET_PFVAR_H */
70 
71 /* if there's an os_proto.h for this platform, to use additional prototypes */
72 /* #undef HAVE_OS_PROTO_H */
73 
74 /* define if net/pfvar.h defines PF_NAT through PF_NORDR */
75 #define HAVE_PF_NAT_THROUGH_PF_NORDR 1
76 
77 /* define if you have the Septel API */
78 /* #undef HAVE_SEPTEL_API */
79 
80 /* define if you have the Myricom SNF API */
81 /* #undef HAVE_SNF_API */
82 
83 /* Define to 1 if you have the `snprintf' function. */
84 #define HAVE_SNPRINTF 1
85 
86 /* Define to 1 if the system has the type `socklen_t'. */
87 #define HAVE_SOCKLEN_T 1
88 
89 /* Define to 1 if you have the <stdint.h> header file. */
90 #define HAVE_STDINT_H 1
91 
92 /* Define to 1 if you have the <stdlib.h> header file. */
93 #define HAVE_STDLIB_H 1
94 
95 /* Define to 1 if you have the `strerror' function. */
96 #define HAVE_STRERROR 1
97 
98 /* Define to 1 if you have the `strerror_r' function. */
99 #define HAVE_STRERROR_R 1
100 
101 /* Define to 1 if you have the `strerror_s' function. */
102 /* #undef HAVE_STRERROR_S */
103 
104 /* Define to 1 if you have the <strings.h> header file. */
105 #define HAVE_STRINGS_H 1
106 
107 /* Define to 1 if you have the <string.h> header file. */
108 #define HAVE_STRING_H 1
109 
110 /* Define to 1 if you have the `strlcat' function. */
111 #define HAVE_STRLCAT 1
112 
113 /* Define to 1 if you have the `strlcpy' function. */
114 #define HAVE_STRLCPY 1
115 
116 /* Define to 1 if you have the `strtok_r' function. */
117 #define HAVE_STRTOK_R 1
118 
119 /* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
120 /* #undef HAVE_STRUCT_BPF_TIMEVAL */
121 
122 /* Define to 1 if the system has the type `struct ether_addr'. */
123 /* #undef HAVE_STRUCT_ETHER_ADDR */
124 
125 /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
126 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
127 
128 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
129 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
130 
131 /* Define to 1 if you have the <sys/bufmod.h> header file. */
132 /* #undef HAVE_SYS_BUFMOD_H */
133 
134 /* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
135 /* #undef HAVE_SYS_DLPI_EXT_H */
136 
137 /* Define to 1 if you have the <sys/ioccom.h> header file. */
138 #define HAVE_SYS_IOCCOM_H 1
139 
140 /* Define to 1 if you have the <sys/select.h> header file. */
141 #define HAVE_SYS_SELECT_H 1
142 
143 /* Define to 1 if you have the <sys/sockio.h> header file. */
144 #define HAVE_SYS_SOCKIO_H 1
145 
146 /* Define to 1 if you have the <sys/stat.h> header file. */
147 #define HAVE_SYS_STAT_H 1
148 
149 /* Define to 1 if you have the <sys/types.h> header file. */
150 #define HAVE_SYS_TYPES_H 1
151 
152 /* define if you have the TurboCap API */
153 /* #undef HAVE_TC_API */
154 
155 /* Define to 1 if you have the <unistd.h> header file. */
156 #define HAVE_UNISTD_H 1
157 
158 /* Define to 1 if you have the `vsnprintf' function. */
159 #define HAVE_VSNPRINTF 1
160 
161 /* IPv6 */
162 /* See Makefile */
163 /* #undef INET6 */
164 
165 /* if unaligned access fails */
166 /* #undef LBL_ALIGN */
167 
168 /* path for device for USB sniffing */
169 /* #undef LINUX_USB_MON_DEV */
170 
171 /* Define to 1 if netinet/ether.h declares `ether_hostton' */
172 /* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
173 
174 /* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
175 #define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON /**/
176 
177 /* do not use protochain */
178 /* #undef NO_PROTOCHAIN */
179 
180 /* Define to the address where bug reports for this package should be sent. */
181 #define PACKAGE_BUGREPORT ""
182 
183 /* Define to the full name of this package. */
184 #define PACKAGE_NAME "pcap"
185 
186 /* Define to the full name and version of this package. */
187 #define PACKAGE_STRING "pcap 1.9.1"
188 
189 /* Define to the one symbol short name of this package. */
190 #define PACKAGE_TARNAME "pcap"
191 
192 /* Define to the home page for this package. */
193 #define PACKAGE_URL ""
194 
195 /* Define to the version of this package. */
196 #define PACKAGE_VERSION "1.9.1"
197 
198 /* target host supports netmap */
199 #define PCAP_SUPPORT_NETMAP 1
200 
201 /* use packet ring capture support on Linux if available */
202 #define PCAP_SUPPORT_PACKET_RING 1
203 
204 /* Define to 1 if you have the ANSI C header files. */
205 #define STDC_HEADERS 1
206 
207 /* Define to 1 if strings.h declares `ffs' */
208 #define STRINGS_H_DECLARES_FFS /**/
209 
210 /* Enable parser debugging */
211 /* #undef YYDEBUG */
212 
213 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
214    `char[]'. */
215 #define YYTEXT_POINTER 1
216 
217 /* Enable large inode numbers on Mac OS X 10.5.  */
218 #ifndef _DARWIN_USE_64_BIT_INODE
219 # define _DARWIN_USE_64_BIT_INODE 1
220 #endif
221 
222 /* Define as token for inline if inlining supported */
223 #define inline inline
224