1/*
2 * User definable configuration options
3 */
4
5/* Undefine if you don't want talk emulation */
6#undef EMULATE_TALK
7
8/* Define if you want the connection to be probed */
9/* XXX Not working yet, so ignore this for now */
10#undef PROBE_CONN
11
12/* Define to 1 if you want KEEPALIVE timers */
13#define DO_KEEPALIVE 0
14
15/* Define to MAX interfaces you expect to use at once */
16/* MAX_INTERFACES determines the max. TOTAL number of interfaces (SLIP and PPP) */
17/* MAX_PPP_INTERFACES determines max. number of PPP interfaces */
18#define MAX_INTERFACES 1
19#define MAX_PPP_INTERFACES 1
20
21/* Define if you want slirp's socket in /tmp */
22/* XXXXXX Do this in ./configure */
23#undef USE_TMPSOCKET
24
25/* Define if you want slirp to use cfsetXspeed() on the terminal */
26#undef DO_CFSETSPEED
27
28/* Define this if you want slirp to write to the tty as fast as it can */
29/* This should only be set if you are using load-balancing, slirp does a */
30/* pretty good job on single modems already, and seting this will make */
31/* interactive sessions less responsive */
32/* XXXXX Talk about having fast modem as unit 0 */
33#undef FULL_BOLT
34
35/*
36 * Define if you want slirp to use less CPU
37 * You will notice a small lag in interactive sessions, but it's not that bad
38 * Things like Netscape/ftp/etc. are completely unaffected
39 * This is mainly for sysadmins who have many slirp users
40 */
41#undef USE_LOWCPU
42
43/* Define this if your compiler doesn't like prototypes */
44#ifndef __STDC__
45#define NO_PROTOTYPES
46#endif
47
48/*********************************************************/
49/*
50 * Autoconf defined configuration options
51 * You shouldn't need to touch any of these
52 */
53
54/* Ignore this */
55#undef DUMMY_PPP
56
57/* Define if you have unistd.h */
58#define HAVE_UNISTD_H
59
60/* Define if you have stdlib.h */
61#define HAVE_STDLIB_H
62
63/* Define if you have sys/ioctl.h */
64#undef HAVE_SYS_IOCTL_H
65#ifndef _WIN32
66#define HAVE_SYS_IOCTL_H
67#endif
68
69/* Define if you have sys/filio.h */
70#undef HAVE_SYS_FILIO_H
71#ifdef __APPLE__
72#define HAVE_SYS_FILIO_H
73#endif
74
75/* Define if you have strerror */
76#define HAVE_STRERROR
77
78/* Define if you have strdup() */
79#define HAVE_STRDUP
80
81/* Define according to how time.h should be included */
82#define TIME_WITH_SYS_TIME 0
83#undef HAVE_SYS_TIME_H
84
85/* Define if you have sys/bitypes.h */
86#undef HAVE_SYS_BITYPES_H
87
88/* Define if the machine is big endian */
89//#undef HOST_WORDS_BIGENDIAN
90
91/* Define if your sprintf returns char * instead of int */
92#undef BAD_SPRINTF
93
94/* Define if you have readv */
95#undef HAVE_READV
96
97/* Define if iovec needs to be declared */
98#undef DECLARE_IOVEC
99#ifdef _WIN32
100#define DECLARE_IOVEC
101#endif
102
103/* Define if a declaration of sprintf/fprintf is needed */
104#undef DECLARE_SPRINTF
105
106/* Define if you have a POSIX.1 sys/wait.h */
107#undef HAVE_SYS_WAIT_H
108
109/* Define if you have sys/select.h */
110#undef HAVE_SYS_SELECT_H
111#ifndef _WIN32
112#define HAVE_SYS_SELECT_H
113#endif
114
115/* Define if you have strings.h */
116#define HAVE_STRING_H
117
118/* Define if you have arpa/inet.h */
119#undef HAVE_ARPA_INET_H
120#ifndef _WIN32
121#define HAVE_ARPA_INET_H
122#endif
123
124/* Define if you have sys/signal.h */
125#undef HAVE_SYS_SIGNAL_H
126
127/* Define if you have sys/stropts.h */
128#undef HAVE_SYS_STROPTS_H
129
130/* Define to whatever your compiler thinks inline should be */
131//#define inline inline
132
133/* Define to whatever your compiler thinks const should be */
134//#define const const
135
136/* Define if your compiler doesn't like prototypes */
137#undef NO_PROTOTYPES
138
139/* Define if you don't have u_int32_t etc. typedef'd */
140#undef NEED_TYPEDEFS
141#ifdef __sun__
142#define NEED_TYPEDEFS
143#endif
144
145/* Define to sizeof(char) */
146#define SIZEOF_CHAR 1
147
148/* Define to sizeof(short) */
149#define SIZEOF_SHORT 2
150
151/* Define to sizeof(int) */
152#define SIZEOF_INT 4
153
154/* Should come from qemu-common.h - howver there's alot of stuff there. */
155#ifndef HOST_LONG_BITS
156#if UINTPTR_MAX == UINT32_MAX
157# define HOST_LONG_BITS 32
158#elif UINTPTR_MAX == UINT64_MAX
159# define HOST_LONG_BITS 64
160#else
161# error Unknown pointer size
162#endif
163#endif
164
165/* Define to sizeof(char *) */
166#define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)
167
168/* Define if you have random() */
169#undef HAVE_RANDOM
170
171/* Define if you have srandom() */
172#undef HAVE_SRANDOM
173
174/* Define if you have inet_aton */
175#undef HAVE_INET_ATON
176#ifndef _WIN32
177#define HAVE_INET_ATON
178#endif
179
180/* Define if you have setenv */
181#undef HAVE_SETENV
182
183/* Define if you have index() */
184#undef HAVE_INDEX
185
186/* Define if you have bcmp() */
187#undef HAVE_BCMP
188
189/* Define if you have drand48 */
190#undef HAVE_DRAND48
191
192/* Define if you have memmove */
193#define HAVE_MEMMOVE
194
195/* Define if you have gethostid */
196#undef HAVE_GETHOSTID
197
198/* Define if you DON'T have unix-domain sockets */
199#undef NO_UNIX_SOCKETS
200#ifdef _WIN32
201#define NO_UNIX_SOCKETS
202#endif
203
204/* Define if gettimeofday only takes one argument */
205#undef GETTIMEOFDAY_ONE_ARG
206
207/* Define if you have revoke() */
208#undef HAVE_REVOKE
209
210/* Define if you have the sysv method of opening pty's (/dev/ptmx, etc.) */
211#undef HAVE_GRANTPT
212
213/* Define if you have fchmod */
214#undef HAVE_FCHMOD
215
216/* Define if you have <sys/type32.h> */
217#undef HAVE_SYS_TYPES32_H
218