slirp_config.h 1.9 KB
Newer Older
B
bellard 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
/*
 * User definable configuration options
 */

/* Define if you want the connection to be probed */
/* XXX Not working yet, so ignore this for now */
#undef PROBE_CONN

/* Define to 1 if you want KEEPALIVE timers */
#define DO_KEEPALIVE 0

/* 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 */
#undef FULL_BOLT

/*********************************************************/
/*
 * Autoconf defined configuration options
 * You shouldn't need to touch any of these
 */

/* Define if you have sys/ioctl.h */
B
bellard 已提交
26 27
#undef HAVE_SYS_IOCTL_H
#ifndef _WIN32
B
bellard 已提交
28
#define HAVE_SYS_IOCTL_H
B
bellard 已提交
29
#endif
B
bellard 已提交
30 31 32

/* Define if you have sys/filio.h */
#undef HAVE_SYS_FILIO_H
B
bellard 已提交
33 34 35
#ifdef __APPLE__
#define HAVE_SYS_FILIO_H
#endif
B
bellard 已提交
36 37 38 39 40

/* Define if you have sys/bitypes.h */
#undef HAVE_SYS_BITYPES_H

/* Define if the machine is big endian */
41
//#undef HOST_WORDS_BIGENDIAN
B
bellard 已提交
42 43 44 45 46 47

/* Define if you have readv */
#undef HAVE_READV

/* Define if iovec needs to be declared */
#undef DECLARE_IOVEC
B
bellard 已提交
48 49 50
#ifdef _WIN32
#define DECLARE_IOVEC
#endif
B
bellard 已提交
51 52 53 54 55

/* Define if you have a POSIX.1 sys/wait.h */
#undef HAVE_SYS_WAIT_H

/* Define if you have sys/select.h */
B
bellard 已提交
56 57
#undef HAVE_SYS_SELECT_H
#ifndef _WIN32
B
bellard 已提交
58
#define HAVE_SYS_SELECT_H
B
bellard 已提交
59
#endif
B
bellard 已提交
60 61

/* Define if you have arpa/inet.h */
B
bellard 已提交
62 63
#undef HAVE_ARPA_INET_H
#ifndef _WIN32
B
bellard 已提交
64
#define HAVE_ARPA_INET_H
B
bellard 已提交
65
#endif
B
bellard 已提交
66 67 68 69 70 71 72 73

/* Define if you have sys/signal.h */
#undef HAVE_SYS_SIGNAL_H

/* Define if you have sys/stropts.h */
#undef HAVE_SYS_STROPTS_H

/* Define to sizeof(char *) */
74
#define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)
B
bellard 已提交
75 76

/* Define if you have inet_aton */
B
bellard 已提交
77 78
#undef HAVE_INET_ATON
#ifndef _WIN32
B
bellard 已提交
79
#define HAVE_INET_ATON
B
bellard 已提交
80
#endif
B
bellard 已提交
81 82 83

/* Define if you DON'T have unix-domain sockets */
#undef NO_UNIX_SOCKETS
B
bellard 已提交
84 85 86
#ifdef _WIN32
#define NO_UNIX_SOCKETS
#endif