2 * User definable configuration options
5 /* Define if you want the connection to be probed */
6 /* XXX Not working yet, so ignore this for now */
9 /* Define to 1 if you want KEEPALIVE timers */
10 #define DO_KEEPALIVE 0
12 /* Define to MAX interfaces you expect to use at once */
13 /* MAX_INTERFACES determines the max. TOTAL number of interfaces (SLIP and PPP) */
14 /* MAX_PPP_INTERFACES determines max. number of PPP interfaces */
15 #define MAX_INTERFACES 1
16 #define MAX_PPP_INTERFACES 1
18 /* Define if you want slirp's socket in /tmp */
19 /* XXXXXX Do this in ./configure */
22 /* Define if you want slirp to use cfsetXspeed() on the terminal */
25 /* Define this if you want slirp to write to the tty as fast as it can */
26 /* This should only be set if you are using load-balancing, slirp does a */
27 /* pretty good job on single modems already, and seting this will make */
28 /* interactive sessions less responsive */
29 /* XXXXX Talk about having fast modem as unit 0 */
33 * Define if you want slirp to use less CPU
34 * You will notice a small lag in interactive sessions, but it's not that bad
35 * Things like Netscape/ftp/etc. are completely unaffected
36 * This is mainly for sysadmins who have many slirp users
40 /* Define this if your compiler doesn't like prototypes */
45 /*********************************************************/
47 * Autoconf defined configuration options
48 * You shouldn't need to touch any of these
54 /* Define if you have unistd.h */
57 /* Define if you have stdlib.h */
60 /* Define if you have sys/ioctl.h */
61 #undef HAVE_SYS_IOCTL_H
63 #define HAVE_SYS_IOCTL_H
66 /* Define if you have sys/filio.h */
67 #undef HAVE_SYS_FILIO_H
69 #define HAVE_SYS_FILIO_H
72 /* Define if you have strerror */
75 /* Define if you have strdup() */
78 /* Define according to how time.h should be included */
79 #define TIME_WITH_SYS_TIME 0
80 #undef HAVE_SYS_TIME_H
82 /* Define if you have sys/bitypes.h */
83 #undef HAVE_SYS_BITYPES_H
85 /* Define if the machine is big endian */
86 //#undef HOST_WORDS_BIGENDIAN
88 /* Define if your sprintf returns char * instead of int */
91 /* Define if you have readv */
94 /* Define if iovec needs to be declared */
100 /* Define if a declaration of sprintf/fprintf is needed */
101 #undef DECLARE_SPRINTF
103 /* Define if you have a POSIX.1 sys/wait.h */
104 #undef HAVE_SYS_WAIT_H
106 /* Define if you have sys/select.h */
107 #undef HAVE_SYS_SELECT_H
109 #define HAVE_SYS_SELECT_H
112 /* Define if you have strings.h */
113 #define HAVE_STRING_H
115 /* Define if you have arpa/inet.h */
116 #undef HAVE_ARPA_INET_H
118 #define HAVE_ARPA_INET_H
121 /* Define if you have sys/signal.h */
122 #undef HAVE_SYS_SIGNAL_H
124 /* Define if you have sys/stropts.h */
125 #undef HAVE_SYS_STROPTS_H
127 /* Define to whatever your compiler thinks inline should be */
128 //#define inline inline
130 /* Define to whatever your compiler thinks const should be */
131 //#define const const
133 /* Define if your compiler doesn't like prototypes */
136 /* Define to sizeof(char) */
137 #define SIZEOF_CHAR 1
139 /* Define to sizeof(short) */
140 #define SIZEOF_SHORT 2
142 /* Define to sizeof(int) */
145 /* Define to sizeof(char *) */
146 #define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)
148 /* Define if you have random() */
151 /* Define if you have srandom() */
154 /* Define if you have inet_aton */
155 #undef HAVE_INET_ATON
157 #define HAVE_INET_ATON
160 /* Define if you have setenv */
163 /* Define if you have index() */
166 /* Define if you have bcmp() */
169 /* Define if you have drand48 */
172 /* Define if you have memmove */
175 /* Define if you have gethostid */
176 #define HAVE_GETHOSTID
178 /* Define if you DON'T have unix-domain sockets */
179 #undef NO_UNIX_SOCKETS
181 #define NO_UNIX_SOCKETS
184 /* Define if you have revoke() */
187 /* Define if you have the sysv method of opening pty's (/dev/ptmx, etc.) */
190 /* Define if you have fchmod */
193 /* Define if you have <sys/type32.h> */
194 #undef HAVE_SYS_TYPES32_H