xref: /freebsd/lib/libpcap/config.h (revision bf77b6f8d781e9dd3045d1b2a4974b16cfaec929)
11a92ad3dSBill Fenner /* $FreeBSD$ */
21a92ad3dSBill Fenner /* This is an edited copy of the config.h generated by configure. */
31a92ad3dSBill Fenner 
4*bf77b6f8SDimitry Andric /* config.h.  Generated from config.h.in by configure.  */
50b27443fSSam Leffler /* config.h.in.  Generated from configure.in by autoheader.  */
687d7b722SBill Fenner 
70b27443fSSam Leffler /* Enable optimizer debugging */
80b27443fSSam Leffler /* #undef BDEBUG */
90b27443fSSam Leffler 
103bc70204SMax Laier /* define if you have a cloning BPF device */
11136600feSEd Schouten #define HAVE_CLONING_BPF 1
123bc70204SMax Laier 
130b27443fSSam Leffler /* define if you have the DAG API */
140b27443fSSam Leffler /* #undef HAVE_DAG_API */
150b27443fSSam Leffler 
163bc70204SMax Laier /* define if you have dag_get_erf_types() */
173bc70204SMax Laier /* #undef HAVE_DAG_GET_ERF_TYPES */
183bc70204SMax Laier 
19*bf77b6f8SDimitry Andric /* define if you have dag_get_stream_erf_types() */
20*bf77b6f8SDimitry Andric /* #undef HAVE_DAG_GET_STREAM_ERF_TYPES */
21*bf77b6f8SDimitry Andric 
223bc70204SMax Laier /* define if you have streams capable DAG API */
233bc70204SMax Laier /* #undef HAVE_DAG_STREAMS_API */
243bc70204SMax Laier 
250b27443fSSam Leffler /* Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
260b27443fSSam Leffler    don't. */
270b27443fSSam Leffler #define HAVE_DECL_ETHER_HOSTTON 1
280b27443fSSam Leffler 
290b27443fSSam Leffler /* define if you have a /dev/dlpi */
300b27443fSSam Leffler /* #undef HAVE_DEV_DLPI */
310b27443fSSam Leffler 
32*bf77b6f8SDimitry Andric /* if passive_req_t primitive exists */
33*bf77b6f8SDimitry Andric /* #undef HAVE_DLPI_PASSIVE */
34*bf77b6f8SDimitry Andric 
350b27443fSSam Leffler /* Define to 1 if you have the `ether_hostton' function. */
361a92ad3dSBill Fenner #define HAVE_ETHER_HOSTTON 1
371a92ad3dSBill Fenner 
3828510af5SRui Paulo /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
3928510af5SRui Paulo #define HAVE_FSEEKO 1
4028510af5SRui Paulo 
413bc70204SMax Laier /* on HP-UX 10.20 or later */
423bc70204SMax Laier /* #undef HAVE_HPUX10_20_OR_LATER */
431a92ad3dSBill Fenner 
440b27443fSSam Leffler /* on HP-UX 9.x */
450b27443fSSam Leffler /* #undef HAVE_HPUX9 */
461a92ad3dSBill Fenner 
470b27443fSSam Leffler /* if ppa_info_t_dl_module_id exists */
480b27443fSSam Leffler /* #undef HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 */
491a92ad3dSBill Fenner 
500b27443fSSam Leffler /* Define to 1 if you have the <inttypes.h> header file. */
510b27443fSSam Leffler #define HAVE_INTTYPES_H 1
520b27443fSSam Leffler 
5328510af5SRui Paulo /* if libdlpi exists */
5428510af5SRui Paulo /* #undef HAVE_LIBDLPI */
5528510af5SRui Paulo 
56*bf77b6f8SDimitry Andric /* if libnl exists */
57*bf77b6f8SDimitry Andric /* #undef HAVE_LIBNL */
58*bf77b6f8SDimitry Andric 
590b27443fSSam Leffler /* Define to 1 if you have the <limits.h> header file. */
6087d7b722SBill Fenner #define HAVE_LIMITS_H 1
6187d7b722SBill Fenner 
6228510af5SRui Paulo /* if tp_vlan_tci exists */
6328510af5SRui Paulo /* #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI */
6428510af5SRui Paulo 
65*bf77b6f8SDimitry Andric /* Define to 1 if you have the <linux/usbdevice_fs.h> header file. */
66*bf77b6f8SDimitry Andric /* #undef HAVE_LINUX_USBDEVICE_FS_H */
67*bf77b6f8SDimitry Andric 
6828510af5SRui Paulo /* Define to 1 if you have the <linux/wireless.h> header file. */
6928510af5SRui Paulo /* #undef HAVE_LINUX_WIRELESS_H */
7028510af5SRui Paulo 
710b27443fSSam Leffler /* Define to 1 if you have the <memory.h> header file. */
720b27443fSSam Leffler #define HAVE_MEMORY_H 1
730b27443fSSam Leffler 
740b27443fSSam Leffler /* Define to 1 if you have the <netinet/ether.h> header file. */
750b27443fSSam Leffler /* #undef HAVE_NETINET_ETHER_H */
760b27443fSSam Leffler 
770b27443fSSam Leffler /* Define to 1 if you have the <netinet/if_ether.h> header file. */
781a92ad3dSBill Fenner #define HAVE_NETINET_IF_ETHER_H 1
791a92ad3dSBill Fenner 
8028510af5SRui Paulo /* Define to 1 if you have the <net/if_media.h> header file. */
8128510af5SRui Paulo #define HAVE_NET_IF_MEDIA_H 1
8228510af5SRui Paulo 
833bc70204SMax Laier /* Define to 1 if you have the <net/pfvar.h> header file. */
843bc70204SMax Laier /* See Makefile */
853bc70204SMax Laier /* #undef HAVE_NET_PFVAR_H */
863bc70204SMax Laier 
87*bf77b6f8SDimitry Andric /* if there's an os_proto.h for this platform, to use additional prototypes */
880b27443fSSam Leffler /* #undef HAVE_OS_PROTO_H */
890b27443fSSam Leffler 
903bc70204SMax Laier /* Define to 1 if you have the <paths.h> header file. */
913bc70204SMax Laier #define HAVE_PATHS_H 1
923bc70204SMax Laier 
93*bf77b6f8SDimitry Andric /* define if net/pfvar.h defines PF_NAT through PF_NORDR */
94*bf77b6f8SDimitry Andric #define HAVE_PF_NAT_THROUGH_PF_NORDR 1
950b27443fSSam Leffler 
963bc70204SMax Laier /* define if you have a Septel API */
973bc70204SMax Laier /* #undef HAVE_SEPTEL_API */
983bc70204SMax Laier 
99*bf77b6f8SDimitry Andric /* define if you have Myricom SNF API */
100*bf77b6f8SDimitry Andric /* #undef HAVE_SNF_API */
101*bf77b6f8SDimitry Andric 
1020b27443fSSam Leffler /* Define to 1 if you have the `snprintf' function. */
1030b27443fSSam Leffler #define HAVE_SNPRINTF 1
1040b27443fSSam Leffler 
105*bf77b6f8SDimitry Andric /* if struct sockaddr has the sa_len member */
1060b27443fSSam Leffler #define HAVE_SOCKADDR_SA_LEN 1
1070b27443fSSam Leffler 
1080b27443fSSam Leffler /* if struct sockaddr_storage exists */
1090b27443fSSam Leffler #define HAVE_SOCKADDR_STORAGE 1
1100b27443fSSam Leffler 
11128510af5SRui Paulo /* define if socklen_t is defined */
11228510af5SRui Paulo #define HAVE_SOCKLEN_T 1
11328510af5SRui Paulo 
1140b27443fSSam Leffler /* On solaris */
1150b27443fSSam Leffler /* #undef HAVE_SOLARIS */
1160b27443fSSam Leffler 
1170b27443fSSam Leffler /* Define to 1 if you have the <stdint.h> header file. */
1180b27443fSSam Leffler #define HAVE_STDINT_H 1
1190b27443fSSam Leffler 
1200b27443fSSam Leffler /* Define to 1 if you have the <stdlib.h> header file. */
1210b27443fSSam Leffler #define HAVE_STDLIB_H 1
1220b27443fSSam Leffler 
1230b27443fSSam Leffler /* Define to 1 if you have the `strerror' function. */
1240b27443fSSam Leffler #define HAVE_STRERROR 1
1250b27443fSSam Leffler 
1260b27443fSSam Leffler /* Define to 1 if you have the <strings.h> header file. */
1270b27443fSSam Leffler #define HAVE_STRINGS_H 1
1280b27443fSSam Leffler 
1290b27443fSSam Leffler /* Define to 1 if you have the <string.h> header file. */
1300b27443fSSam Leffler #define HAVE_STRING_H 1
1310b27443fSSam Leffler 
1320b27443fSSam Leffler /* Define to 1 if you have the `strlcpy' function. */
1330b27443fSSam Leffler #define HAVE_STRLCPY 1
1340b27443fSSam Leffler 
135*bf77b6f8SDimitry Andric /* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
136*bf77b6f8SDimitry Andric /* #undef HAVE_STRUCT_BPF_TIMEVAL */
137*bf77b6f8SDimitry Andric 
1383bc70204SMax Laier /* Define to 1 if the system has the type `struct ether_addr'. */
1393bc70204SMax Laier /* #undef HAVE_STRUCT_ETHER_ADDR */
1403bc70204SMax Laier 
141*bf77b6f8SDimitry Andric /* Define to 1 if you have the <sys/bitypes.h> header file. */
142*bf77b6f8SDimitry Andric /* #undef HAVE_SYS_BITYPES_H */
143*bf77b6f8SDimitry Andric 
1440b27443fSSam Leffler /* Define to 1 if you have the <sys/bufmod.h> header file. */
1451a92ad3dSBill Fenner /* #undef HAVE_SYS_BUFMOD_H */
1461a92ad3dSBill Fenner 
1470b27443fSSam Leffler /* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
1481a92ad3dSBill Fenner /* #undef HAVE_SYS_DLPI_EXT_H */
1491a92ad3dSBill Fenner 
1500b27443fSSam Leffler /* Define to 1 if you have the <sys/ioccom.h> header file. */
1511a92ad3dSBill Fenner #define HAVE_SYS_IOCCOM_H 1
1521a92ad3dSBill Fenner 
1530b27443fSSam Leffler /* Define to 1 if you have the <sys/sockio.h> header file. */
1541a92ad3dSBill Fenner #define HAVE_SYS_SOCKIO_H 1
1551a92ad3dSBill Fenner 
1560b27443fSSam Leffler /* Define to 1 if you have the <sys/stat.h> header file. */
1570b27443fSSam Leffler #define HAVE_SYS_STAT_H 1
1580b27443fSSam Leffler 
1590b27443fSSam Leffler /* Define to 1 if you have the <sys/types.h> header file. */
1600b27443fSSam Leffler #define HAVE_SYS_TYPES_H 1
1610b27443fSSam Leffler 
1620b27443fSSam Leffler /* if if_packet.h has tpacket_stats defined */
1630b27443fSSam Leffler /* #undef HAVE_TPACKET_STATS */
1640b27443fSSam Leffler 
1650b27443fSSam Leffler /* Define to 1 if you have the <unistd.h> header file. */
1660b27443fSSam Leffler #define HAVE_UNISTD_H 1
1670b27443fSSam Leffler 
168*bf77b6f8SDimitry Andric /* if struct usbdevfs_ctrltransfer has bRequestType */
169*bf77b6f8SDimitry Andric /* #undef HAVE_USBDEVFS_CTRLTRANSFER_BREQUESTTYPE */
170*bf77b6f8SDimitry Andric 
1710b27443fSSam Leffler /* define if version.h is generated in the build procedure */
1720b27443fSSam Leffler #define HAVE_VERSION_H 1
1730b27443fSSam Leffler 
1740b27443fSSam Leffler /* Define to 1 if you have the `vsnprintf' function. */
1750b27443fSSam Leffler #define HAVE_VSNPRINTF 1
1761a92ad3dSBill Fenner 
17728510af5SRui Paulo /* define if the system supports zerocopy BPF */
17828510af5SRui Paulo #define	HAVE_ZEROCOPY_BPF 1
17928510af5SRui Paulo 
1801a92ad3dSBill Fenner /* define if your compiler has __attribute__ */
1811a92ad3dSBill Fenner #define HAVE___ATTRIBUTE__ 1
1821a92ad3dSBill Fenner 
1830b27443fSSam Leffler /* IPv6 */
184*bf77b6f8SDimitry Andric /* See Makefile */
1850b27443fSSam Leffler /* #undef INET6 */
1860b27443fSSam Leffler 
1870b27443fSSam Leffler /* if unaligned access fails */
1880b27443fSSam Leffler /* #undef LBL_ALIGN */
1890b27443fSSam Leffler 
19028510af5SRui Paulo /* path for device for USB sniffing */
19128510af5SRui Paulo /* #undef LINUX_USB_MON_DEV */
19228510af5SRui Paulo 
1930b27443fSSam Leffler /* Define to 1 if netinet/ether.h declares `ether_hostton' */
1940b27443fSSam Leffler /* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
1950b27443fSSam Leffler 
1960b27443fSSam Leffler /* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
1970b27443fSSam Leffler #define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON
1980b27443fSSam Leffler 
1990b27443fSSam Leffler /* do not use protochain */
2000b27443fSSam Leffler /* #undef NO_PROTOCHAIN */
2010b27443fSSam Leffler 
2020b27443fSSam Leffler /* Define to the address where bug reports for this package should be sent. */
2030b27443fSSam Leffler #define PACKAGE_BUGREPORT ""
2040b27443fSSam Leffler 
2050b27443fSSam Leffler /* Define to the full name of this package. */
2060b27443fSSam Leffler #define PACKAGE_NAME ""
2070b27443fSSam Leffler 
2080b27443fSSam Leffler /* Define to the full name and version of this package. */
2090b27443fSSam Leffler #define PACKAGE_STRING ""
2100b27443fSSam Leffler 
2110b27443fSSam Leffler /* Define to the one symbol short name of this package. */
2120b27443fSSam Leffler #define PACKAGE_TARNAME ""
2130b27443fSSam Leffler 
2140b27443fSSam Leffler /* Define to the version of this package. */
2150b27443fSSam Leffler #define PACKAGE_VERSION ""
2160b27443fSSam Leffler 
2170b27443fSSam Leffler /* /dev/dlpi directory */
2180b27443fSSam Leffler /* #undef PCAP_DEV_PREFIX */
2190b27443fSSam Leffler 
22028510af5SRui Paulo /* target host supports Bluetooth sniffing */
22128510af5SRui Paulo /* #undef PCAP_SUPPORT_BT */
22228510af5SRui Paulo 
223*bf77b6f8SDimitry Andric /* target host supports CAN sniffing */
224*bf77b6f8SDimitry Andric /* #undef PCAP_SUPPORT_CAN */
225*bf77b6f8SDimitry Andric 
22628510af5SRui Paulo /* target host supports USB sniffing */
22728510af5SRui Paulo /* #undef PCAP_SUPPORT_USB */
22828510af5SRui Paulo 
22928510af5SRui Paulo /* include ACN support */
23028510af5SRui Paulo /* #undef SITA */
23128510af5SRui Paulo 
2320b27443fSSam Leffler /* Define to 1 if you have the ANSI C header files. */
2330b27443fSSam Leffler #define STDC_HEADERS 1
2340b27443fSSam Leffler 
2350b27443fSSam Leffler /* Enable parser debugging */
2360b27443fSSam Leffler /* #undef YYDEBUG */
2370b27443fSSam Leffler 
23828510af5SRui Paulo /* Number of bits in a file offset, on hosts where this is settable. */
23928510af5SRui Paulo /* #undef _FILE_OFFSET_BITS */
24028510af5SRui Paulo 
241*bf77b6f8SDimitry Andric /* needed on HP-UX */
242*bf77b6f8SDimitry Andric /* #undef _HPUX_SOURCE */
243*bf77b6f8SDimitry Andric 
24428510af5SRui Paulo /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).  */
24528510af5SRui Paulo /* #undef _LARGEFILE_SOURCE */
24628510af5SRui Paulo 
24728510af5SRui Paulo /* Define for large files, on AIX-style hosts. */
24828510af5SRui Paulo /* #undef _LARGE_FILES */
24928510af5SRui Paulo 
2500b27443fSSam Leffler /* define on AIX to get certain functions */
2510b27443fSSam Leffler /* #undef _SUN */
2520b27443fSSam Leffler 
253*bf77b6f8SDimitry Andric /* to handle Ultrix compilers that don't support const in prototypes */
254*bf77b6f8SDimitry Andric /* #undef const */
255*bf77b6f8SDimitry Andric 
2560b27443fSSam Leffler /* Define as token for inline if inlining supported */
2570b27443fSSam Leffler #define inline inline
2580b27443fSSam Leffler 
259*bf77b6f8SDimitry Andric /* Define to `short' if int16_t not defined. */
260*bf77b6f8SDimitry Andric /* #undef int16_t */
261*bf77b6f8SDimitry Andric 
262*bf77b6f8SDimitry Andric /* Define to `int' if int32_t not defined. */
263*bf77b6f8SDimitry Andric /* #undef int32_t */
264*bf77b6f8SDimitry Andric 
265*bf77b6f8SDimitry Andric /* Define to `long long' if int64_t not defined. */
266*bf77b6f8SDimitry Andric /* #undef int64_t */
267*bf77b6f8SDimitry Andric 
268*bf77b6f8SDimitry Andric /* Define to `signed char' if int8_t not defined. */
269*bf77b6f8SDimitry Andric /* #undef int8_t */
270*bf77b6f8SDimitry Andric 
2710b27443fSSam Leffler /* on sinix */
2720b27443fSSam Leffler /* #undef sinix */
2731a92ad3dSBill Fenner 
274*bf77b6f8SDimitry Andric /* Define to `unsigned short' if u_int16_t not defined. */
2751a92ad3dSBill Fenner /* #undef u_int16_t */
2761a92ad3dSBill Fenner 
277*bf77b6f8SDimitry Andric /* Define to `unsigned int' if u_int32_t not defined. */
2781a92ad3dSBill Fenner /* #undef u_int32_t */
2791a92ad3dSBill Fenner 
280*bf77b6f8SDimitry Andric /* Define to `unsigned long long' if u_int64_t not defined. */
28128510af5SRui Paulo /* #undef u_int64_t */
28228510af5SRui Paulo 
283*bf77b6f8SDimitry Andric /* Define to `unsigned char' if u_int8_t not defined. */
2840b27443fSSam Leffler /* #undef u_int8_t */
285