From 0d47952611198ef6b1163f366dc03922d20b1475 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:42:04 +0200 Subject: Adding upstream version 7.94+git20230807.3be01efb1+dfsg. Signed-off-by: Daniel Baumann --- libdnet-stripped/include/dnet_winconfig.h | 279 ++++++++++++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 libdnet-stripped/include/dnet_winconfig.h (limited to 'libdnet-stripped/include/dnet_winconfig.h') diff --git a/libdnet-stripped/include/dnet_winconfig.h b/libdnet-stripped/include/dnet_winconfig.h new file mode 100644 index 0000000..dff336d --- /dev/null +++ b/libdnet-stripped/include/dnet_winconfig.h @@ -0,0 +1,279 @@ +/* include/dnet_winconfig.h -- Windows configuration #defines. It is modified + from the config.h generated by configure on other platforms. */ + +/* Define if arpreq struct has arp_dev. */ +#define HAVE_ARPREQ_ARP_DEV 1 + +/* Define if you have the Berkeley Packet Filter. */ +/* #undef HAVE_BSD_BPF */ + +/* Define if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Define if you have the `err' function. */ +#define HAVE_ERR 1 + +/* Define if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_HPSECURITY_H */ + +/* Define if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define if you have arp(7) ioctls. */ +#define HAVE_IOCTL_ARP 1 + +/* Define if you have the header file. */ +/* #undef HAVE_IPHLPAPI_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_IP_COMPAT_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_IP_FIL_COMPAT_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_IP_FIL_H */ + +/* Define if you have the `iphlpapi' library (-liphlpapi). */ +/* #undef HAVE_LIBIPHLPAPI */ + +/* Define if you have the `nm' library (-lnm). */ +/* #undef HAVE_LIBNM */ + +/* Define if you have the `nsl' library (-lnsl). */ +/* #undef HAVE_LIBNSL */ + +/* Define if you have the `resolv' library (-lresolv). */ +/* #undef HAVE_LIBRESOLV */ + +/* Define if you have the `socket' library (-lsocket). */ +/* #undef HAVE_LIBSOCKET */ + +/* Define if you have the `str' library (-lstr). */ +/* #undef HAVE_LIBSTR */ + +/* Define if you have the `ws2_32' library (-lws2_32). */ +/* #undef HAVE_LIBWS2_32 */ + +/* Define if you have the header file. */ +#define HAVE_LINUX_IF_TUN_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_LINUX_IP_FWCHAINS_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_LINUX_IP_FW_H */ + +/* Define if you have the header file. + */ +#define HAVE_LINUX_NETFILTER_IPV4_IPCHAINS_CORE_H 1 + +/* Define if you have Linux PF_PACKET sockets. */ +#define HAVE_LINUX_PF_PACKET 1 + +/* Define if you have the Linux /proc filesystem. */ +#define HAVE_LINUX_PROCFS 1 + +/* Define if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_NETINET_IN_VAR_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NETINET_IP_COMPAT_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NETINET_IP_FIL_COMPAT_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NETINET_IP_FIL_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NETINET_IP_FW_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NET_BPF_H */ + +/* Define if you have the header file. */ +#define HAVE_NET_IF_ARP_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_NET_IF_DL_H */ + +/* Define if you have the header file. */ +// #define HAVE_NET_IF_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_NET_IF_TUN_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NET_IF_VAR_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NET_PFILT_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NET_PFVAR_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NET_RADIX_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NET_RAW_H */ + +/* Define if you have the header file. */ +#define HAVE_NET_ROUTE_H 1 + +/* Define if you have cooked raw IP sockets. */ +/* #undef HAVE_RAWIP_COOKED */ + +/* Define if has getkerninfo. */ +/* #undef HAVE_GETKERNINFO */ + +/* Define if raw IP sockets require host byte ordering for ip_off, ip_len. */ +/* #undef HAVE_RAWIP_HOST_OFFLEN */ + +/* Define if has rt_msghdr struct. */ +/* #undef HAVE_ROUTE_RT_MSGHDR */ + +/* Define if has sockaddr_in6 struct. */ +#define HAVE_SOCKADDR_IN6 1 + +/* Define if sockaddr struct has sa_len. */ +/* #undef HAVE_SOCKADDR_SA_LEN */ + +/* Define if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have SNMP MIB2 STREAMS. */ +/* #undef HAVE_STREAMS_MIB2 */ + +/* Define if you have route(7) STREAMS. */ +/* #undef HAVE_STREAMS_ROUTE */ + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the `strlcpy' function. */ +/* #undef HAVE_STRLCPY */ + +/* Define if you have the header file. */ +#define HAVE_STROPTS_H 1 + +/* Define if you have the `strsep' function. */ +#define HAVE_STRSEP 1 + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_BUFMOD_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_DLPIHDR_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_DLPI_EXT_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_DLPI_H */ + +/* Define if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_MIB_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_NDD_VAR_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_SOCKET_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_SOCKIO_H */ + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_SYSCTL_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the header file. */ +#define HAVE_WINSOCK2_H + +/* Name of package */ +#define PACKAGE "libdnet" + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "1.12" + +/* Define for faster code generation. */ +#define WIN32_LEAN_AND_MEAN + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define as `__inline' if that's what the C compiler calls it, or to nothing + if it is not supported. */ +/* #undef inline */ + +/* Define to `int' if does not define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if does not define. */ +/* #undef size_t */ + +/* Use MingW32's internal snprintf */ +/* #undef snprintf */ + +#include + +#ifdef HAVE_WINSOCK2_H +# include +# include +# include +#endif + +#ifdef __svr4__ +# define BSD_COMP 1 +#endif + +#if defined(__osf__) && !defined(_SOCKADDR_LEN) +# define _SOCKADDR_LEN 1 +#endif + +#ifndef HAVE_STRLCPY +int strlcpy(char *, const char *, int); +#endif + +#ifndef HAVE_STRSEP +char *strsep(char **, const char *); +#endif + +#if defined(_MSC_VER) && _MSC_VER < 1900 +#define snprintf _snprintf +#endif + +/* Without this, Windows will give us all sorts of crap about using functions + like strcpy() even if they are done safely */ +#define _CRT_SECURE_NO_DEPRECATE 1 -- cgit v1.2.3