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