2 * User definable configuration options
5 /* Undefine if you don't want talk emulation */
8 /* Define if you want the connection to be probed */
9 /* XXX Not working yet, so ignore this for now */
12 /* Define to 1 if you want KEEPALIVE timers */
13 #define DO_KEEPALIVE 0
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
21 /* Define if you want slirp's socket in /tmp */
22 /* XXXXXX Do this in ./configure */
25 /* Define if you want slirp to use cfsetXspeed() on the terminal */
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 */
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
43 /* Define this if your compiler doesn't like prototypes */
48 /*********************************************************/
50 * Autoconf defined configuration options
51 * You shouldn't need to touch any of these
57 /* Define if you have unistd.h */
60 /* Define if you have stdlib.h */
63 /* Define if you have sys/ioctl.h */
64 #undef HAVE_SYS_IOCTL_H
66 #define HAVE_SYS_IOCTL_H
69 /* Define if you have sys/filio.h */
70 #undef HAVE_SYS_FILIO_H
72 #define HAVE_SYS_FILIO_H
75 /* Define if you have strerror */
78 /* Define if you have strdup() */
81 /* Define according to how time.h should be included */
82 #define TIME_WITH_SYS_TIME 0
83 #undef HAVE_SYS_TIME_H
85 /* Define if you have sys/bitypes.h */
86 #undef HAVE_SYS_BITYPES_H
88 /* Define if the machine is big endian */
89 //#undef WORDS_BIGENDIAN
91 /* Define if your sprintf returns char * instead of int */
94 /* Define if you have readv */
97 /* Define if iovec needs to be declared */
100 #define DECLARE_IOVEC
103 /* Define if a declaration of sprintf/fprintf is needed */
104 #undef DECLARE_SPRINTF
106 /* Define if you have a POSIX.1 sys/wait.h */
107 #undef HAVE_SYS_WAIT_H
109 /* Define if you have sys/select.h */
110 #undef HAVE_SYS_SELECT_H
112 #define HAVE_SYS_SELECT_H
115 /* Define if you have strings.h */
116 #define HAVE_STRING_H
118 /* Define if you have arpa/inet.h */
119 #undef HAVE_ARPA_INET_H
121 #define HAVE_ARPA_INET_H
124 /* Define if you have sys/signal.h */
125 #undef HAVE_SYS_SIGNAL_H
127 /* Define if you have sys/stropts.h */
128 #undef HAVE_SYS_STROPTS_H
130 /* Define to whatever your compiler thinks inline should be */
131 //#define inline inline
133 /* Define to whatever your compiler thinks const should be */
134 //#define const const
136 /* Define if your compiler doesn't like prototypes */
139 /* Define if you don't have u_int32_t etc. typedef'd */
142 #define NEED_TYPEDEFS
145 /* Define to sizeof(char) */
146 #define SIZEOF_CHAR 1
148 /* Define to sizeof(short) */
149 #define SIZEOF_SHORT 2
151 /* Define to sizeof(int) */
154 /* Define to sizeof(char *) */
155 #define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)
157 /* Define if you have random() */
160 /* Define if you have srandom() */
163 /* Define if you have inet_aton */
164 #undef HAVE_INET_ATON
166 #define HAVE_INET_ATON
169 /* Define if you have setenv */
172 /* Define if you have index() */
175 /* Define if you have bcmp() */
178 /* Define if you have drand48 */
181 /* Define if you have memmove */
184 /* Define if you have gethostid */
185 #define HAVE_GETHOSTID
187 /* Define if you DON'T have unix-domain sockets */
188 #undef NO_UNIX_SOCKETS
190 #define NO_UNIX_SOCKETS
193 /* Define if gettimeofday only takes one argument */
194 #undef GETTIMEOFDAY_ONE_ARG
196 /* Define if you have revoke() */
199 /* Define if you have the sysv method of opening pty's (/dev/ptmx, etc.) */
202 /* Define if you have fchmod */
205 /* Define if you have <sys/type32.h> */
206 #undef HAVE_SYS_TYPES32_H