slirp_config.h revision a68b0110cd3338c318b355c0ac5ac72f92e510b7
/*
* User definable configuration options
*/
/* Undefine if you don't want talk emulation */
/* Define if you want the connection to be probed */
/* XXX Not working yet, so ignore this for now */
/* Define to 1 if you want KEEPALIVE timers */
#define DO_KEEPALIVE 0
/* Define to MAX interfaces you expect to use at once */
/* MAX_INTERFACES determines the max. TOTAL number of interfaces (SLIP and PPP) */
/* MAX_PPP_INTERFACES determines max. number of PPP interfaces */
#define MAX_INTERFACES 1
#define MAX_PPP_INTERFACES 1
/* Define if you want slirp's socket in /tmp */
/* XXXXXX Do this in ./configure */
/* Define if you want slirp to use cfsetXspeed() on the terminal */
/* Define this if you want slirp to write to the tty as fast as it can */
/* This should only be set if you are using load-balancing, slirp does a */
/* pretty good job on single modems already, and seting this will make */
/* interactive sessions less responsive */
/* XXXXX Talk about having fast modem as unit 0 */
/*
* Define if you want slirp to use less CPU
* You will notice a small lag in interactive sessions, but it's not that bad
* This is mainly for sysadmins who have many slirp users
*/
/* Define this if your compiler doesn't like prototypes */
#ifndef __STDC__
#define NO_PROTOTYPES
#endif
/*********************************************************/
/*
* Autoconf defined configuration options
* You shouldn't need to touch any of these
*/
/* Ignore this */
#ifdef _MSC_VER
#else
/* Define if you have unistd.h */
#define HAVE_UNISTD_H
#endif
/* Define if you have stdlib.h */
#define HAVE_STDLIB_H
#ifndef _WIN32
#define HAVE_SYS_IOCTL_H
#endif
#ifdef __APPLE__
#define HAVE_SYS_FILIO_H
#endif
/* Define if you have strerror */
#define HAVE_STRERROR
/* Define if you have strdup() */
#define HAVE_STRDUP
/* Define according to how time.h should be included */
#define TIME_WITH_SYS_TIME 0
/* Define if the machine is big endian */
/*#undef WORDS_BIGENDIAN */
/* Define if your sprintf returns char * instead of int */
/* Define if you have readv */
/* Define if iovec needs to be declared */
#ifdef _WIN32
#define DECLARE_IOVEC
#endif
#ifndef _WIN32
#define HAVE_SYS_SELECT_H
#endif
/* Define if you have strings.h */
#define HAVE_STRING_H
#ifndef _WIN32
#define HAVE_ARPA_INET_H
#endif
/* Define to whatever your compiler thinks inline should be */
#if defined(_MSC_VER) && !defined(__cplusplus)
# define inline _inline
#else
# define inline inline
#endif
/* Define to whatever your compiler thinks const should be */
#define const const
/* Define if your compiler doesn't like prototypes */
/* Define if you don't have u_int32_t etc. typedef'd */
#ifdef __sun__
#define NEED_TYPEDEFS
#endif
/* Define to sizeof(char) */
#define SIZEOF_CHAR 1
/* Define to sizeof(short) */
#define SIZEOF_SHORT 2
/* Define to sizeof(int) */
#define SIZEOF_INT 4
/* Define to sizeof(char *) */
#define HOST_LONG_BITS ARCH_BITS
/* Define if you have random() */
/* Define if you have srandom() */
/* Define if you have inet_aton */
#ifndef _WIN32
#define HAVE_INET_ATON
#endif
/* Define if you have setenv */
/* Define if you have index() */
/* Define if you have bcmp() */
/* Define if you have drand48 */
/* Define if you have memmove */
#define HAVE_MEMMOVE
/* Define if you have gethostid */
#ifdef __OS2__
# define HAVE_GETHOSTID
#endif
/* Define if you DON'T have unix-domain sockets */
#ifdef _WIN32
#define NO_UNIX_SOCKETS
#endif
/* Define if gettimeofday only takes one argument */
/* Define if you have revoke() */
/* Define if you have fchmod */