175111Sfenner/* $FreeBSD: stable/11/lib/libpcap/config.h 356341 2020-01-04 00:44:49Z cy $ */
275111Sfenner/* This is an edited copy of the config.h generated by configure. */
375111Sfenner
4214539Sdim/* config.h.  Generated from config.h.in by configure.  */
5319279Sdelphij/* config.h.in.  Generated from configure.ac by autoheader.  */
698529Sfenner
7356341Scy/* Define to 1 if you have the `asprintf' function. */
8356341Scy#define HAVE_ASPRINTF 1
9356341Scy
10146772Ssam/* Define to 1 if you have the `ether_hostton' function. */
1175111Sfenner#define HAVE_ETHER_HOSTTON 1
1275111Sfenner
13335640Shselasky/* Define to 1 if you have the `ffs' function. */
14335640Shselasky#define HAVE_FFS 1
15335640Shselasky
16190226Srpaulo/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
17190226Srpaulo#define HAVE_FSEEKO 1
18190226Srpaulo
19172681Smlaier/* on HP-UX 10.20 or later */
20172681Smlaier/* #undef HAVE_HPUX10_20_OR_LATER */
2175111Sfenner
22146772Ssam/* on HP-UX 9.x */
23146772Ssam/* #undef HAVE_HPUX9 */
2475111Sfenner
25146772Ssam/* Define to 1 if you have the <inttypes.h> header file. */
26146772Ssam#define HAVE_INTTYPES_H 1
27146772Ssam
28190226Srpaulo/* if libdlpi exists */
29190226Srpaulo/* #undef HAVE_LIBDLPI */
30190226Srpaulo
31214539Sdim/* if libnl exists */
32214539Sdim/* #undef HAVE_LIBNL */
33214539Sdim
34235426Sdelphij/* if libnl exists and is version 2.x */
35235426Sdelphij/* #undef HAVE_LIBNL_2_x */
36235426Sdelphij
37251129Sdelphij/* if libnl exists and is version 3.x */
38251129Sdelphij/* #undef HAVE_LIBNL_3_x */
39251129Sdelphij
40251129Sdelphij/* libnl has NLE_FAILURE */
41251129Sdelphij/* #undef HAVE_LIBNL_NLE */
42251129Sdelphij
43251129Sdelphij/* libnl has new-style socket api */
44251129Sdelphij/* #undef HAVE_LIBNL_SOCKETS */
45251129Sdelphij
46146772Ssam/* Define to 1 if you have the <limits.h> header file. */
4798529Sfenner#define HAVE_LIMITS_H 1
4898529Sfenner
49235426Sdelphij/* Define to 1 if you have the <linux/compiler.h> header file. */
50235426Sdelphij/* #undef HAVE_LINUX_COMPILER_H */
51235426Sdelphij
52235426Sdelphij/* Define to 1 if you have the <linux/ethtool.h> header file. */
53235426Sdelphij/* #undef HAVE_LINUX_ETHTOOL_H */
54235426Sdelphij
55146772Ssam/* Define to 1 if you have the <memory.h> header file. */
56146772Ssam#define HAVE_MEMORY_H 1
57146772Ssam
58235426Sdelphij/* Define to 1 if you have the <netpacket/packet.h> header file. */
59235426Sdelphij/* #undef HAVE_NETPACKET_PACKET_H */
60235426Sdelphij
61335640Shselasky/* Define to 1 if you have the <net/bpf.h> header file. */
62335640Shselasky#define HAVE_NET_BPF_H 1
63335640Shselasky
64190226Srpaulo/* Define to 1 if you have the <net/if_media.h> header file. */
65190226Srpaulo#define HAVE_NET_IF_MEDIA_H 1
66190226Srpaulo
67172681Smlaier/* Define to 1 if you have the <net/pfvar.h> header file. */
68172681Smlaier/* See Makefile */
69172681Smlaier/* #undef HAVE_NET_PFVAR_H */
70172681Smlaier
71214539Sdim/* if there's an os_proto.h for this platform, to use additional prototypes */
72146772Ssam/* #undef HAVE_OS_PROTO_H */
73146772Ssam
74214539Sdim/* define if net/pfvar.h defines PF_NAT through PF_NORDR */
75214539Sdim#define HAVE_PF_NAT_THROUGH_PF_NORDR 1
76146772Ssam
77319279Sdelphij/* define if you have the Septel API */
78172681Smlaier/* #undef HAVE_SEPTEL_API */
79172681Smlaier
80319279Sdelphij/* define if you have the Myricom SNF API */
81214539Sdim/* #undef HAVE_SNF_API */
82214539Sdim
83146772Ssam/* Define to 1 if you have the `snprintf' function. */
84146772Ssam#define HAVE_SNPRINTF 1
85146772Ssam
86335640Shselasky/* Define to 1 if the system has the type `socklen_t'. */
87190226Srpaulo#define HAVE_SOCKLEN_T 1
88146772Ssam
89146772Ssam/* Define to 1 if you have the <stdint.h> header file. */
90146772Ssam#define HAVE_STDINT_H 1
91146772Ssam
92146772Ssam/* Define to 1 if you have the <stdlib.h> header file. */
93146772Ssam#define HAVE_STDLIB_H 1
94146772Ssam
95146772Ssam/* Define to 1 if you have the `strerror' function. */
96146772Ssam#define HAVE_STRERROR 1
97146772Ssam
98335640Shselasky/* Define to 1 if you have the `strerror_r' function. */
99335640Shselasky#define HAVE_STRERROR_R 1
100335640Shselasky
101335640Shselasky/* Define to 1 if you have the `strerror_s' function. */
102335640Shselasky/* #undef HAVE_STRERROR_S */
103335640Shselasky
104146772Ssam/* Define to 1 if you have the <strings.h> header file. */
105146772Ssam#define HAVE_STRINGS_H 1
106146772Ssam
107146772Ssam/* Define to 1 if you have the <string.h> header file. */
108146772Ssam#define HAVE_STRING_H 1
109146772Ssam
110335640Shselasky/* Define to 1 if you have the `strlcat' function. */
111335640Shselasky#define HAVE_STRLCAT 1
112335640Shselasky
113146772Ssam/* Define to 1 if you have the `strlcpy' function. */
114146772Ssam#define HAVE_STRLCPY 1
115146772Ssam
116319279Sdelphij/* Define to 1 if you have the `strtok_r' function. */
117319279Sdelphij#define HAVE_STRTOK_R 1
118319279Sdelphij
119214539Sdim/* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
120214539Sdim/* #undef HAVE_STRUCT_BPF_TIMEVAL */
121214539Sdim
122172681Smlaier/* Define to 1 if the system has the type `struct ether_addr'. */
123172681Smlaier/* #undef HAVE_STRUCT_ETHER_ADDR */
124172681Smlaier
125335640Shselasky/* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
126335640Shselasky#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
127214539Sdim
128335640Shselasky/* Define to 1 if the system has the type `struct sockaddr_storage'. */
129335640Shselasky#define HAVE_STRUCT_SOCKADDR_STORAGE 1
130335640Shselasky
131146772Ssam/* Define to 1 if you have the <sys/bufmod.h> header file. */
13275111Sfenner/* #undef HAVE_SYS_BUFMOD_H */
13375111Sfenner
134146772Ssam/* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
13575111Sfenner/* #undef HAVE_SYS_DLPI_EXT_H */
13675111Sfenner
137146772Ssam/* Define to 1 if you have the <sys/ioccom.h> header file. */
13875111Sfenner#define HAVE_SYS_IOCCOM_H 1
13975111Sfenner
140319279Sdelphij/* Define to 1 if you have the <sys/select.h> header file. */
141319279Sdelphij#define HAVE_SYS_SELECT_H 1
142319279Sdelphij
143146772Ssam/* Define to 1 if you have the <sys/sockio.h> header file. */
14475111Sfenner#define HAVE_SYS_SOCKIO_H 1
14575111Sfenner
146146772Ssam/* Define to 1 if you have the <sys/stat.h> header file. */
147146772Ssam#define HAVE_SYS_STAT_H 1
14875111Sfenner
149146772Ssam/* Define to 1 if you have the <sys/types.h> header file. */
150146772Ssam#define HAVE_SYS_TYPES_H 1
151146772Ssam
152319279Sdelphij/* define if you have the TurboCap API */
153319279Sdelphij/* #undef HAVE_TC_API */
154319279Sdelphij
155146772Ssam/* Define to 1 if you have the <unistd.h> header file. */
156146772Ssam#define HAVE_UNISTD_H 1
157146772Ssam
158146772Ssam/* Define to 1 if you have the `vsnprintf' function. */
159146772Ssam#define HAVE_VSNPRINTF 1
160146772Ssam
161146772Ssam/* IPv6 */
162214539Sdim/* See Makefile */
163146772Ssam/* #undef INET6 */
16475111Sfenner
165146772Ssam/* if unaligned access fails */
166146772Ssam/* #undef LBL_ALIGN */
16775111Sfenner
168190226Srpaulo/* path for device for USB sniffing */
169190226Srpaulo/* #undef LINUX_USB_MON_DEV */
170190226Srpaulo
171146772Ssam/* Define to 1 if netinet/ether.h declares `ether_hostton' */
172146772Ssam/* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
17375111Sfenner
174146772Ssam/* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
175276768Sdelphij#define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON /**/
176146772Ssam
17775111Sfenner/* do not use protochain */
17875111Sfenner/* #undef NO_PROTOCHAIN */
17975111Sfenner
180146772Ssam/* Define to the address where bug reports for this package should be sent. */
181146772Ssam#define PACKAGE_BUGREPORT ""
18275111Sfenner
183146772Ssam/* Define to the full name of this package. */
184335640Shselasky#define PACKAGE_NAME "pcap"
18598529Sfenner
186146772Ssam/* Define to the full name and version of this package. */
187356341Scy#define PACKAGE_STRING "pcap 1.9.1"
18898529Sfenner
189146772Ssam/* Define to the one symbol short name of this package. */
190335640Shselasky#define PACKAGE_TARNAME "pcap"
19175111Sfenner
192276768Sdelphij/* Define to the home page for this package. */
193276768Sdelphij#define PACKAGE_URL ""
194276768Sdelphij
195146772Ssam/* Define to the version of this package. */
196356341Scy#define PACKAGE_VERSION "1.9.1"
197146772Ssam
198272659Sluigi/* target host supports netmap */
199272659Sluigi#define PCAP_SUPPORT_NETMAP 1
200272659Sluigi
201335640Shselasky/* use packet ring capture support on Linux if available */
202335640Shselasky#define PCAP_SUPPORT_PACKET_RING 1
203190226Srpaulo
204146772Ssam/* Define to 1 if you have the ANSI C header files. */
205146772Ssam#define STDC_HEADERS 1
20698529Sfenner
207335640Shselasky/* Define to 1 if strings.h declares `ffs' */
208335640Shselasky#define STRINGS_H_DECLARES_FFS /**/
209335640Shselasky
210146772Ssam/* Enable parser debugging */
211146772Ssam/* #undef YYDEBUG */
21298529Sfenner
213319279Sdelphij/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
214319279Sdelphij   `char[]'. */
215319279Sdelphij#define YYTEXT_POINTER 1
216319279Sdelphij
217276768Sdelphij/* Enable large inode numbers on Mac OS X 10.5.  */
218276768Sdelphij#ifndef _DARWIN_USE_64_BIT_INODE
219276768Sdelphij# define _DARWIN_USE_64_BIT_INODE 1
220276768Sdelphij#endif
221276768Sdelphij
222146772Ssam/* Define as token for inline if inlining supported */
223146772Ssam#define inline inline
224