xref: /freebsd/lib/libpcap/config.h (revision 57e22627f9459b9dfd6043b32e02ecfcf205e176)
11a92ad3dSBill Fenner /* $FreeBSD$ */
21a92ad3dSBill Fenner /* This is an edited copy of the config.h generated by configure. */
31a92ad3dSBill Fenner 
4bf77b6f8SDimitry Andric /* config.h.  Generated from config.h.in by configure.  */
5ada6f083SXin LI /* config.h.in.  Generated from configure.ac by autoheader.  */
687d7b722SBill Fenner 
7*57e22627SCy Schubert /* Define to 1 if you have the `asprintf' function. */
8*57e22627SCy Schubert #define HAVE_ASPRINTF 1
9*57e22627SCy Schubert 
100b27443fSSam Leffler /* Define to 1 if you have the `ether_hostton' function. */
111a92ad3dSBill Fenner #define HAVE_ETHER_HOSTTON 1
121a92ad3dSBill Fenner 
13b00ab754SHans Petter Selasky /* Define to 1 if you have the `ffs' function. */
14b00ab754SHans Petter Selasky #define HAVE_FFS 1
15b00ab754SHans Petter Selasky 
1628510af5SRui Paulo /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
1728510af5SRui Paulo #define HAVE_FSEEKO 1
1828510af5SRui Paulo 
193bc70204SMax Laier /* on HP-UX 10.20 or later */
203bc70204SMax Laier /* #undef HAVE_HPUX10_20_OR_LATER */
211a92ad3dSBill Fenner 
220b27443fSSam Leffler /* on HP-UX 9.x */
230b27443fSSam Leffler /* #undef HAVE_HPUX9 */
241a92ad3dSBill Fenner 
250b27443fSSam Leffler /* Define to 1 if you have the <inttypes.h> header file. */
260b27443fSSam Leffler #define HAVE_INTTYPES_H 1
270b27443fSSam Leffler 
2828510af5SRui Paulo /* if libdlpi exists */
2928510af5SRui Paulo /* #undef HAVE_LIBDLPI */
3028510af5SRui Paulo 
31bf77b6f8SDimitry Andric /* if libnl exists */
32bf77b6f8SDimitry Andric /* #undef HAVE_LIBNL */
33bf77b6f8SDimitry Andric 
34d1e87331SXin LI /* if libnl exists and is version 2.x */
35d1e87331SXin LI /* #undef HAVE_LIBNL_2_x */
36d1e87331SXin LI 
37edc89b24SXin LI /* if libnl exists and is version 3.x */
38edc89b24SXin LI /* #undef HAVE_LIBNL_3_x */
39edc89b24SXin LI 
40edc89b24SXin LI /* libnl has NLE_FAILURE */
41edc89b24SXin LI /* #undef HAVE_LIBNL_NLE */
42edc89b24SXin LI 
43edc89b24SXin LI /* libnl has new-style socket api */
44edc89b24SXin LI /* #undef HAVE_LIBNL_SOCKETS */
45edc89b24SXin LI 
460b27443fSSam Leffler /* Define to 1 if you have the <limits.h> header file. */
4787d7b722SBill Fenner #define HAVE_LIMITS_H 1
4887d7b722SBill Fenner 
49d1e87331SXin LI /* Define to 1 if you have the <linux/compiler.h> header file. */
50d1e87331SXin LI /* #undef HAVE_LINUX_COMPILER_H */
51d1e87331SXin LI 
52d1e87331SXin LI /* Define to 1 if you have the <linux/ethtool.h> header file. */
53d1e87331SXin LI /* #undef HAVE_LINUX_ETHTOOL_H */
54d1e87331SXin LI 
550b27443fSSam Leffler /* Define to 1 if you have the <memory.h> header file. */
560b27443fSSam Leffler #define HAVE_MEMORY_H 1
570b27443fSSam Leffler 
58d1e87331SXin LI /* Define to 1 if you have the <netpacket/packet.h> header file. */
59d1e87331SXin LI /* #undef HAVE_NETPACKET_PACKET_H */
60d1e87331SXin LI 
61b00ab754SHans Petter Selasky /* Define to 1 if you have the <net/bpf.h> header file. */
62b00ab754SHans Petter Selasky #define HAVE_NET_BPF_H 1
63b00ab754SHans Petter Selasky 
6428510af5SRui Paulo /* Define to 1 if you have the <net/if_media.h> header file. */
6528510af5SRui Paulo #define HAVE_NET_IF_MEDIA_H 1
6628510af5SRui Paulo 
673bc70204SMax Laier /* Define to 1 if you have the <net/pfvar.h> header file. */
683bc70204SMax Laier /* See Makefile */
693bc70204SMax Laier /* #undef HAVE_NET_PFVAR_H */
703bc70204SMax Laier 
71bf77b6f8SDimitry Andric /* if there's an os_proto.h for this platform, to use additional prototypes */
720b27443fSSam Leffler /* #undef HAVE_OS_PROTO_H */
730b27443fSSam Leffler 
74bf77b6f8SDimitry Andric /* define if net/pfvar.h defines PF_NAT through PF_NORDR */
75bf77b6f8SDimitry Andric #define HAVE_PF_NAT_THROUGH_PF_NORDR 1
760b27443fSSam Leffler 
77ada6f083SXin LI /* define if you have the Septel API */
783bc70204SMax Laier /* #undef HAVE_SEPTEL_API */
793bc70204SMax Laier 
80ada6f083SXin LI /* define if you have the Myricom SNF API */
81bf77b6f8SDimitry Andric /* #undef HAVE_SNF_API */
82bf77b6f8SDimitry Andric 
830b27443fSSam Leffler /* Define to 1 if you have the `snprintf' function. */
840b27443fSSam Leffler #define HAVE_SNPRINTF 1
850b27443fSSam Leffler 
86b00ab754SHans Petter Selasky /* Define to 1 if the system has the type `socklen_t'. */
8728510af5SRui Paulo #define HAVE_SOCKLEN_T 1
8828510af5SRui Paulo 
890b27443fSSam Leffler /* Define to 1 if you have the <stdint.h> header file. */
900b27443fSSam Leffler #define HAVE_STDINT_H 1
910b27443fSSam Leffler 
920b27443fSSam Leffler /* Define to 1 if you have the <stdlib.h> header file. */
930b27443fSSam Leffler #define HAVE_STDLIB_H 1
940b27443fSSam Leffler 
950b27443fSSam Leffler /* Define to 1 if you have the `strerror' function. */
960b27443fSSam Leffler #define HAVE_STRERROR 1
970b27443fSSam Leffler 
98b00ab754SHans Petter Selasky /* Define to 1 if you have the `strerror_r' function. */
99b00ab754SHans Petter Selasky #define HAVE_STRERROR_R 1
100b00ab754SHans Petter Selasky 
101b00ab754SHans Petter Selasky /* Define to 1 if you have the `strerror_s' function. */
102b00ab754SHans Petter Selasky /* #undef HAVE_STRERROR_S */
103b00ab754SHans Petter Selasky 
1040b27443fSSam Leffler /* Define to 1 if you have the <strings.h> header file. */
1050b27443fSSam Leffler #define HAVE_STRINGS_H 1
1060b27443fSSam Leffler 
1070b27443fSSam Leffler /* Define to 1 if you have the <string.h> header file. */
1080b27443fSSam Leffler #define HAVE_STRING_H 1
1090b27443fSSam Leffler 
110b00ab754SHans Petter Selasky /* Define to 1 if you have the `strlcat' function. */
111b00ab754SHans Petter Selasky #define HAVE_STRLCAT 1
112b00ab754SHans Petter Selasky 
1130b27443fSSam Leffler /* Define to 1 if you have the `strlcpy' function. */
1140b27443fSSam Leffler #define HAVE_STRLCPY 1
1150b27443fSSam Leffler 
116ada6f083SXin LI /* Define to 1 if you have the `strtok_r' function. */
117ada6f083SXin LI #define HAVE_STRTOK_R 1
118ada6f083SXin LI 
119bf77b6f8SDimitry Andric /* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
120bf77b6f8SDimitry Andric /* #undef HAVE_STRUCT_BPF_TIMEVAL */
121bf77b6f8SDimitry Andric 
1223bc70204SMax Laier /* Define to 1 if the system has the type `struct ether_addr'. */
1233bc70204SMax Laier /* #undef HAVE_STRUCT_ETHER_ADDR */
1243bc70204SMax Laier 
125b00ab754SHans Petter Selasky /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
126b00ab754SHans Petter Selasky #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
127b00ab754SHans Petter Selasky 
128b00ab754SHans Petter Selasky /* Define to 1 if the system has the type `struct sockaddr_storage'. */
129b00ab754SHans Petter Selasky #define HAVE_STRUCT_SOCKADDR_STORAGE 1
130bf77b6f8SDimitry Andric 
1310b27443fSSam Leffler /* Define to 1 if you have the <sys/bufmod.h> header file. */
1321a92ad3dSBill Fenner /* #undef HAVE_SYS_BUFMOD_H */
1331a92ad3dSBill Fenner 
1340b27443fSSam Leffler /* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
1351a92ad3dSBill Fenner /* #undef HAVE_SYS_DLPI_EXT_H */
1361a92ad3dSBill Fenner 
1370b27443fSSam Leffler /* Define to 1 if you have the <sys/ioccom.h> header file. */
1381a92ad3dSBill Fenner #define HAVE_SYS_IOCCOM_H 1
1391a92ad3dSBill Fenner 
140ada6f083SXin LI /* Define to 1 if you have the <sys/select.h> header file. */
141ada6f083SXin LI #define HAVE_SYS_SELECT_H 1
142ada6f083SXin LI 
1430b27443fSSam Leffler /* Define to 1 if you have the <sys/sockio.h> header file. */
1441a92ad3dSBill Fenner #define HAVE_SYS_SOCKIO_H 1
1451a92ad3dSBill Fenner 
1460b27443fSSam Leffler /* Define to 1 if you have the <sys/stat.h> header file. */
1470b27443fSSam Leffler #define HAVE_SYS_STAT_H 1
1480b27443fSSam Leffler 
1490b27443fSSam Leffler /* Define to 1 if you have the <sys/types.h> header file. */
1500b27443fSSam Leffler #define HAVE_SYS_TYPES_H 1
1510b27443fSSam Leffler 
152ada6f083SXin LI /* define if you have the TurboCap API */
153ada6f083SXin LI /* #undef HAVE_TC_API */
154ada6f083SXin LI 
1550b27443fSSam Leffler /* Define to 1 if you have the <unistd.h> header file. */
1560b27443fSSam Leffler #define HAVE_UNISTD_H 1
1570b27443fSSam Leffler 
1580b27443fSSam Leffler /* Define to 1 if you have the `vsnprintf' function. */
1590b27443fSSam Leffler #define HAVE_VSNPRINTF 1
1601a92ad3dSBill Fenner 
1610b27443fSSam Leffler /* IPv6 */
162bf77b6f8SDimitry Andric /* See Makefile */
1630b27443fSSam Leffler /* #undef INET6 */
1640b27443fSSam Leffler 
1650b27443fSSam Leffler /* if unaligned access fails */
1660b27443fSSam Leffler /* #undef LBL_ALIGN */
1670b27443fSSam Leffler 
16828510af5SRui Paulo /* path for device for USB sniffing */
16928510af5SRui Paulo /* #undef LINUX_USB_MON_DEV */
17028510af5SRui Paulo 
1710b27443fSSam Leffler /* Define to 1 if netinet/ether.h declares `ether_hostton' */
1720b27443fSSam Leffler /* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
1730b27443fSSam Leffler 
1740b27443fSSam Leffler /* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
175681ed54cSXin LI #define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON /**/
1760b27443fSSam Leffler 
1770b27443fSSam Leffler /* do not use protochain */
1780b27443fSSam Leffler /* #undef NO_PROTOCHAIN */
1790b27443fSSam Leffler 
1800b27443fSSam Leffler /* Define to the address where bug reports for this package should be sent. */
1810b27443fSSam Leffler #define PACKAGE_BUGREPORT ""
1820b27443fSSam Leffler 
1830b27443fSSam Leffler /* Define to the full name of this package. */
184b00ab754SHans Petter Selasky #define PACKAGE_NAME "pcap"
1850b27443fSSam Leffler 
1860b27443fSSam Leffler /* Define to the full name and version of this package. */
187*57e22627SCy Schubert #define PACKAGE_STRING "pcap 1.9.1"
1880b27443fSSam Leffler 
1890b27443fSSam Leffler /* Define to the one symbol short name of this package. */
190b00ab754SHans Petter Selasky #define PACKAGE_TARNAME "pcap"
1910b27443fSSam Leffler 
192681ed54cSXin LI /* Define to the home page for this package. */
193681ed54cSXin LI #define PACKAGE_URL ""
194681ed54cSXin LI 
1950b27443fSSam Leffler /* Define to the version of this package. */
196*57e22627SCy Schubert #define PACKAGE_VERSION "1.9.1"
19728510af5SRui Paulo 
19886f82ef9SLuigi Rizzo /* target host supports netmap */
19986f82ef9SLuigi Rizzo #define PCAP_SUPPORT_NETMAP 1
20086f82ef9SLuigi Rizzo 
201b00ab754SHans Petter Selasky /* use packet ring capture support on Linux if available */
202b00ab754SHans Petter Selasky #define PCAP_SUPPORT_PACKET_RING 1
203edc89b24SXin LI 
2040b27443fSSam Leffler /* Define to 1 if you have the ANSI C header files. */
2050b27443fSSam Leffler #define STDC_HEADERS 1
2060b27443fSSam Leffler 
207b00ab754SHans Petter Selasky /* Define to 1 if strings.h declares `ffs' */
208b00ab754SHans Petter Selasky #define STRINGS_H_DECLARES_FFS /**/
209b00ab754SHans Petter Selasky 
2100b27443fSSam Leffler /* Enable parser debugging */
2110b27443fSSam Leffler /* #undef YYDEBUG */
2120b27443fSSam Leffler 
213ada6f083SXin LI /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
214ada6f083SXin LI    `char[]'. */
215ada6f083SXin LI #define YYTEXT_POINTER 1
216ada6f083SXin LI 
217681ed54cSXin LI /* Enable large inode numbers on Mac OS X 10.5.  */
218681ed54cSXin LI #ifndef _DARWIN_USE_64_BIT_INODE
219681ed54cSXin LI # define _DARWIN_USE_64_BIT_INODE 1
220681ed54cSXin LI #endif
221681ed54cSXin LI 
2220b27443fSSam Leffler /* Define as token for inline if inlining supported */
2230b27443fSSam Leffler #define inline inline
224