xref: /freebsd/lib/libpcap/config.h (revision ecb75be376a3e18d3e4836b6ee07015264784694)
11a92ad3dSBill Fenner /* This is an edited copy of the config.h generated by configure. */
21a92ad3dSBill Fenner 
3bf77b6f8SDimitry Andric /* config.h.  Generated from config.h.in by configure.  */
4ada6f083SXin LI /* config.h.in.  Generated from configure.ac by autoheader.  */
587d7b722SBill Fenner 
657e22627SCy Schubert /* Define to 1 if you have the `asprintf' function. */
757e22627SCy Schubert #define HAVE_ASPRINTF 1
857e22627SCy Schubert 
90b27443fSSam Leffler /* Define to 1 if you have the `ether_hostton' function. */
101a92ad3dSBill Fenner #define HAVE_ETHER_HOSTTON 1
111a92ad3dSBill Fenner 
12b00ab754SHans Petter Selasky /* Define to 1 if you have the `ffs' function. */
13b00ab754SHans Petter Selasky #define HAVE_FFS 1
14b00ab754SHans Petter Selasky 
1528510af5SRui Paulo /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
1628510af5SRui Paulo #define HAVE_FSEEKO 1
1728510af5SRui Paulo 
183bc70204SMax Laier /* on HP-UX 10.20 or later */
193bc70204SMax Laier /* #undef HAVE_HPUX10_20_OR_LATER */
201a92ad3dSBill Fenner 
210b27443fSSam Leffler /* on HP-UX 9.x */
220b27443fSSam Leffler /* #undef HAVE_HPUX9 */
231a92ad3dSBill Fenner 
240b27443fSSam Leffler /* Define to 1 if you have the <inttypes.h> header file. */
250b27443fSSam Leffler #define HAVE_INTTYPES_H 1
260b27443fSSam Leffler 
2728510af5SRui Paulo /* if libdlpi exists */
2828510af5SRui Paulo /* #undef HAVE_LIBDLPI */
2928510af5SRui Paulo 
30bf77b6f8SDimitry Andric /* if libnl exists */
31bf77b6f8SDimitry Andric /* #undef HAVE_LIBNL */
32bf77b6f8SDimitry Andric 
33d1e87331SXin LI /* if libnl exists and is version 2.x */
34d1e87331SXin LI /* #undef HAVE_LIBNL_2_x */
35d1e87331SXin LI 
36edc89b24SXin LI /* if libnl exists and is version 3.x */
37edc89b24SXin LI /* #undef HAVE_LIBNL_3_x */
38edc89b24SXin LI 
39edc89b24SXin LI /* libnl has NLE_FAILURE */
40edc89b24SXin LI /* #undef HAVE_LIBNL_NLE */
41edc89b24SXin LI 
42edc89b24SXin LI /* libnl has new-style socket api */
43edc89b24SXin LI /* #undef HAVE_LIBNL_SOCKETS */
44edc89b24SXin LI 
450b27443fSSam Leffler /* Define to 1 if you have the <limits.h> header file. */
4687d7b722SBill Fenner #define HAVE_LIMITS_H 1
4787d7b722SBill Fenner 
48d1e87331SXin LI /* Define to 1 if you have the <linux/compiler.h> header file. */
49d1e87331SXin LI /* #undef HAVE_LINUX_COMPILER_H */
50d1e87331SXin LI 
51d1e87331SXin LI /* Define to 1 if you have the <linux/ethtool.h> header file. */
52d1e87331SXin LI /* #undef HAVE_LINUX_ETHTOOL_H */
53d1e87331SXin LI 
540b27443fSSam Leffler /* Define to 1 if you have the <memory.h> header file. */
550b27443fSSam Leffler #define HAVE_MEMORY_H 1
560b27443fSSam Leffler 
57d1e87331SXin LI /* Define to 1 if you have the <netpacket/packet.h> header file. */
58d1e87331SXin LI /* #undef HAVE_NETPACKET_PACKET_H */
59d1e87331SXin LI 
60b00ab754SHans Petter Selasky /* Define to 1 if you have the <net/bpf.h> header file. */
61b00ab754SHans Petter Selasky #define HAVE_NET_BPF_H 1
62b00ab754SHans Petter Selasky 
6328510af5SRui Paulo /* Define to 1 if you have the <net/if_media.h> header file. */
6428510af5SRui Paulo #define HAVE_NET_IF_MEDIA_H 1
6528510af5SRui Paulo 
663bc70204SMax Laier /* Define to 1 if you have the <net/pfvar.h> header file. */
673bc70204SMax Laier /* See Makefile */
683bc70204SMax Laier /* #undef HAVE_NET_PFVAR_H */
693bc70204SMax Laier 
70bf77b6f8SDimitry Andric /* if there's an os_proto.h for this platform, to use additional prototypes */
710b27443fSSam Leffler /* #undef HAVE_OS_PROTO_H */
720b27443fSSam Leffler 
73bf77b6f8SDimitry Andric /* define if net/pfvar.h defines PF_NAT through PF_NORDR */
74bf77b6f8SDimitry Andric #define HAVE_PF_NAT_THROUGH_PF_NORDR 1
750b27443fSSam Leffler 
76ada6f083SXin LI /* define if you have the Septel API */
773bc70204SMax Laier /* #undef HAVE_SEPTEL_API */
783bc70204SMax Laier 
79ada6f083SXin LI /* define if you have the Myricom SNF API */
80bf77b6f8SDimitry Andric /* #undef HAVE_SNF_API */
81bf77b6f8SDimitry Andric 
820b27443fSSam Leffler /* Define to 1 if you have the `snprintf' function. */
830b27443fSSam Leffler #define HAVE_SNPRINTF 1
840b27443fSSam Leffler 
85b00ab754SHans Petter Selasky /* Define to 1 if the system has the type `socklen_t'. */
8628510af5SRui Paulo #define HAVE_SOCKLEN_T 1
8728510af5SRui Paulo 
880b27443fSSam Leffler /* Define to 1 if you have the <stdint.h> header file. */
890b27443fSSam Leffler #define HAVE_STDINT_H 1
900b27443fSSam Leffler 
910b27443fSSam Leffler /* Define to 1 if you have the <stdlib.h> header file. */
920b27443fSSam Leffler #define HAVE_STDLIB_H 1
930b27443fSSam Leffler 
940b27443fSSam Leffler /* Define to 1 if you have the `strerror' function. */
950b27443fSSam Leffler #define HAVE_STRERROR 1
960b27443fSSam Leffler 
97b00ab754SHans Petter Selasky /* Define to 1 if you have the `strerror_r' function. */
98b00ab754SHans Petter Selasky #define HAVE_STRERROR_R 1
99b00ab754SHans Petter Selasky 
100b00ab754SHans Petter Selasky /* Define to 1 if you have the `strerror_s' function. */
101b00ab754SHans Petter Selasky /* #undef HAVE_STRERROR_S */
102b00ab754SHans Petter Selasky 
1030b27443fSSam Leffler /* Define to 1 if you have the <strings.h> header file. */
1040b27443fSSam Leffler #define HAVE_STRINGS_H 1
1050b27443fSSam Leffler 
1060b27443fSSam Leffler /* Define to 1 if you have the <string.h> header file. */
1070b27443fSSam Leffler #define HAVE_STRING_H 1
1080b27443fSSam Leffler 
109b00ab754SHans Petter Selasky /* Define to 1 if you have the `strlcat' function. */
110b00ab754SHans Petter Selasky #define HAVE_STRLCAT 1
111b00ab754SHans Petter Selasky 
1120b27443fSSam Leffler /* Define to 1 if you have the `strlcpy' function. */
1130b27443fSSam Leffler #define HAVE_STRLCPY 1
1140b27443fSSam Leffler 
115ada6f083SXin LI /* Define to 1 if you have the `strtok_r' function. */
116ada6f083SXin LI #define HAVE_STRTOK_R 1
117ada6f083SXin LI 
118bf77b6f8SDimitry Andric /* Define to 1 if the system has the type `struct BPF_TIMEVAL'. */
119bf77b6f8SDimitry Andric /* #undef HAVE_STRUCT_BPF_TIMEVAL */
120bf77b6f8SDimitry Andric 
1213bc70204SMax Laier /* Define to 1 if the system has the type `struct ether_addr'. */
1223bc70204SMax Laier /* #undef HAVE_STRUCT_ETHER_ADDR */
1233bc70204SMax Laier 
124b00ab754SHans Petter Selasky /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
125b00ab754SHans Petter Selasky #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
126b00ab754SHans Petter Selasky 
127b00ab754SHans Petter Selasky /* Define to 1 if the system has the type `struct sockaddr_storage'. */
128b00ab754SHans Petter Selasky #define HAVE_STRUCT_SOCKADDR_STORAGE 1
129bf77b6f8SDimitry Andric 
1300b27443fSSam Leffler /* Define to 1 if you have the <sys/bufmod.h> header file. */
1311a92ad3dSBill Fenner /* #undef HAVE_SYS_BUFMOD_H */
1321a92ad3dSBill Fenner 
1330b27443fSSam Leffler /* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
1341a92ad3dSBill Fenner /* #undef HAVE_SYS_DLPI_EXT_H */
1351a92ad3dSBill Fenner 
1360b27443fSSam Leffler /* Define to 1 if you have the <sys/ioccom.h> header file. */
1371a92ad3dSBill Fenner #define HAVE_SYS_IOCCOM_H 1
1381a92ad3dSBill Fenner 
139ada6f083SXin LI /* Define to 1 if you have the <sys/select.h> header file. */
140ada6f083SXin LI #define HAVE_SYS_SELECT_H 1
141ada6f083SXin LI 
1420b27443fSSam Leffler /* Define to 1 if you have the <sys/sockio.h> header file. */
1431a92ad3dSBill Fenner #define HAVE_SYS_SOCKIO_H 1
1441a92ad3dSBill Fenner 
1450b27443fSSam Leffler /* Define to 1 if you have the <sys/stat.h> header file. */
1460b27443fSSam Leffler #define HAVE_SYS_STAT_H 1
1470b27443fSSam Leffler 
1480b27443fSSam Leffler /* Define to 1 if you have the <sys/types.h> header file. */
1490b27443fSSam Leffler #define HAVE_SYS_TYPES_H 1
1500b27443fSSam Leffler 
151ada6f083SXin LI /* define if you have the TurboCap API */
152ada6f083SXin LI /* #undef HAVE_TC_API */
153ada6f083SXin LI 
1540b27443fSSam Leffler /* Define to 1 if you have the <unistd.h> header file. */
1550b27443fSSam Leffler #define HAVE_UNISTD_H 1
1560b27443fSSam Leffler 
1570b27443fSSam Leffler /* Define to 1 if you have the `vsnprintf' function. */
1580b27443fSSam Leffler #define HAVE_VSNPRINTF 1
1591a92ad3dSBill Fenner 
1600b27443fSSam Leffler /* IPv6 */
161bf77b6f8SDimitry Andric /* See Makefile */
1620b27443fSSam Leffler /* #undef INET6 */
1630b27443fSSam Leffler 
1640b27443fSSam Leffler /* if unaligned access fails */
1650b27443fSSam Leffler /* #undef LBL_ALIGN */
1660b27443fSSam Leffler 
16728510af5SRui Paulo /* path for device for USB sniffing */
16828510af5SRui Paulo /* #undef LINUX_USB_MON_DEV */
16928510af5SRui Paulo 
1700b27443fSSam Leffler /* Define to 1 if netinet/ether.h declares `ether_hostton' */
1710b27443fSSam Leffler /* #undef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
1720b27443fSSam Leffler 
1730b27443fSSam Leffler /* Define to 1 if netinet/if_ether.h declares `ether_hostton' */
174681ed54cSXin LI #define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON /**/
1750b27443fSSam Leffler 
1760b27443fSSam Leffler /* do not use protochain */
1770b27443fSSam Leffler /* #undef NO_PROTOCHAIN */
1780b27443fSSam Leffler 
1790b27443fSSam Leffler /* Define to the address where bug reports for this package should be sent. */
1800b27443fSSam Leffler #define PACKAGE_BUGREPORT ""
1810b27443fSSam Leffler 
1820b27443fSSam Leffler /* Define to the full name of this package. */
183b00ab754SHans Petter Selasky #define PACKAGE_NAME "pcap"
1840b27443fSSam Leffler 
1850b27443fSSam Leffler /* Define to the full name and version of this package. */
186*ecb75be3SJoseph Mingrone #define PACKAGE_STRING "pcap 1.10.5"
1870b27443fSSam Leffler 
1880b27443fSSam Leffler /* Define to the one symbol short name of this package. */
189b00ab754SHans Petter Selasky #define PACKAGE_TARNAME "pcap"
1900b27443fSSam Leffler 
191681ed54cSXin LI /* Define to the home page for this package. */
192681ed54cSXin LI #define PACKAGE_URL ""
193681ed54cSXin LI 
1940b27443fSSam Leffler /* Define to the version of this package. */
195*ecb75be3SJoseph Mingrone #define PACKAGE_VERSION "1.10.5"
19628510af5SRui Paulo 
19786f82ef9SLuigi Rizzo /* target host supports netmap */
19886f82ef9SLuigi Rizzo #define PCAP_SUPPORT_NETMAP 1
19986f82ef9SLuigi Rizzo 
200b00ab754SHans Petter Selasky /* use packet ring capture support on Linux if available */
201b00ab754SHans Petter Selasky #define PCAP_SUPPORT_PACKET_RING 1
202edc89b24SXin LI 
2030b27443fSSam Leffler /* Define to 1 if you have the ANSI C header files. */
2040b27443fSSam Leffler #define STDC_HEADERS 1
2050b27443fSSam Leffler 
206b00ab754SHans Petter Selasky /* Define to 1 if strings.h declares `ffs' */
207b00ab754SHans Petter Selasky #define STRINGS_H_DECLARES_FFS /**/
208b00ab754SHans Petter Selasky 
2090b27443fSSam Leffler /* Enable parser debugging */
2100b27443fSSam Leffler /* #undef YYDEBUG */
2110b27443fSSam Leffler 
212ada6f083SXin LI /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
213ada6f083SXin LI    `char[]'. */
214ada6f083SXin LI #define YYTEXT_POINTER 1
215ada6f083SXin LI 
216681ed54cSXin LI /* Enable large inode numbers on Mac OS X 10.5.  */
217681ed54cSXin LI #ifndef _DARWIN_USE_64_BIT_INODE
218681ed54cSXin LI # define _DARWIN_USE_64_BIT_INODE 1
219681ed54cSXin LI #endif
220681ed54cSXin LI 
2210b27443fSSam Leffler /* Define as token for inline if inlining supported */
2220b27443fSSam Leffler #define inline inline
223