tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / workbench / network / stacks / AROSTCP / dhcp / includes / site.h
blobc3bccd886c025a26136a32e0522d11c1bf1389ea
1 /* Site-specific definitions.
3 For supported systems, you shouldn't need to make any changes here.
4 However, you may want to, in order to deal with site-specific
5 differences. */
7 /* Add any site-specific definitions and inclusions here... */
9 /* #include <site-foo-bar.h> */
10 /* #define SITE_FOOBAR */
12 /* Define this if you don't want dhcpd to run as a daemon and do want
13 to see all its output printed to stdout instead of being logged via
14 syslog(). This also makes dhcpd use the dhcpd.conf in its working
15 directory and write the dhcpd.leases file there. */
17 /* #define DEBUG 1 */
19 /* Define this to see what the parser is parsing. You probably don't
20 want to see this. */
22 /* #define DEBUG_TOKENS */
24 /* Define this to see dumps of incoming and outgoing packets. This
25 slows things down quite a bit... */
27 /* #define DEBUG_PACKET */
29 /* Define this if you want to see dumps of expression evaluation. */
31 /* #define DEBUG_EXPRESSIONS */
33 /* Define this if you want to see dumps of find_lease() in action. */
35 /* #define DEBUG_FIND_LEASE */
37 /* Define this if you want to see dumps of parsed expressions. */
39 /* #define DEBUG_EXPRESSION_PARSE */
41 /* Define this if you want to watch the class matching process. */
43 /* #define DEBUG_CLASS_MATCHING */
45 /* Define this if you want to track memory usage for the purpose of
46 noticing memory leaks quickly. */
48 /* #define DEBUG_MEMORY_LEAKAGE */
50 /* Define this if you want exhaustive (and very slow) checking of the
51 malloc pool for corruption. */
53 /* #define DEBUG_MALLOC_POOL */
55 /* Define this if you want to see a message every time a lease's state
56 changes. */
57 /* #define DEBUG_LEASE_STATE_TRANSITIONS */
59 /* Define this if you want to maintain a history of the last N operations
60 that changed reference counts on objects. This can be used to debug
61 cases where an object is dereferenced too often, or not often enough. */
63 /* #define DEBUG_RC_HISTORY */
65 /* Define this if you want to see the history every cycle. */
67 /* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
69 /* This is the number of history entries to maintain - by default, 256. */
71 /* #define RC_HISTORY_MAX 10240 */
73 /* Define this if you want dhcpd to dump core when a non-fatal memory
74 allocation error is detected (i.e., something that would cause a
75 memory leak rather than a memory smash). */
77 /* #define POINTER_DEBUG */
79 /* Define this if you want debugging output for DHCP failover protocol
80 messages. */
82 /* #define DEBUG_FAILOVER_MESSAGES */
84 /* Define this if you want debugging output for DHCP failover protocol
85 lease assignment timing. */
87 /* #define DEBUG_FAILOVER_TIMING */
89 /* Define this if you want all leases written to the lease file, even if
90 they are free leases that have never been used. */
92 /* #define DEBUG_DUMP_ALL_LEASES */
94 /* Define this if you want DHCP failover protocol support in the DHCP
95 server. */
97 #define FAILOVER_PROTOCOL
99 /* Define this if you want DNS update functionality to be available. */
101 #define NSUPDATE
103 /* Define this if you want the dhcpd.pid file to go somewhere other than
104 the default (which varies from system to system, but is usually either
105 /etc or /var/run. */
107 /* #define _PATH_DHCPD_PID "/var/run/dhcpd.pid" */
109 /* Define this if you want the dhcpd.leases file (the dynamic lease database)
110 to go somewhere other than the default location, which is normally
111 /etc/dhcpd.leases. */
113 /* #define _PATH_DHCPD_DB "/etc/dhcpd.leases" */
115 /* Define this if you want the dhcpd.conf file to go somewhere other than
116 the default location. By default, it goes in /etc/dhcpd.conf. */
118 /* #define _PATH_DHCPD_CONF "/etc/dhcpd.conf" */
120 /* Network API definitions. You do not need to choose one of these - if
121 you don't choose, one will be chosen for you in your system's config
122 header. DON'T MESS WITH THIS UNLESS YOU KNOW WHAT YOU'RE DOING!!! */
124 /* Define this to use the standard BSD socket API.
126 On many systems, the BSD socket API does not provide the ability to
127 send packets to the 255.255.255.255 broadcast address, which can
128 prevent some clients (e.g., Win95) from seeing replies. This is
129 not a problem on Solaris.
131 In addition, the BSD socket API will not work when more than one
132 network interface is configured on the server.
134 However, the BSD socket API is about as efficient as you can get, so if
135 the aforementioned problems do not matter to you, or if no other
136 API is supported for your system, you may want to go with it. */
138 /* #define USE_SOCKETS */
140 /* Define this to use the Sun Streams NIT API.
142 The Sun Streams NIT API is only supported on SunOS 4.x releases. */
144 /* #define USE_NIT */
146 /* Define this to use the Berkeley Packet Filter API.
148 The BPF API is available on all 4.4-BSD derivatives, including
149 NetBSD, FreeBSD and BSDI's BSD/OS. It's also available on
150 DEC Alpha OSF/1 in a compatibility mode supported by the Alpha OSF/1
151 packetfilter interface. */
153 /* #define USE_BPF */
155 /* Define this to use the raw socket API.
157 The raw socket API is provided on many BSD derivatives, and provides
158 a way to send out raw IP packets. It is only supported for sending
159 packets - packets must be received with the regular socket API.
160 This code is experimental - I've never gotten it to actually transmit
161 a packet to the 255.255.255.255 broadcast address - so use it at your
162 own risk. */
164 /* #define USE_RAW_SOCKETS */
166 /* Define this to change the logging facility used by dhcpd. */
168 /* #define DHCPD_LOG_FACILITY LOG_DAEMON */
170 /* Define this if you aren't debugging and you want to save memory
171 (potentially a _lot_ of memory) by allocating leases in chunks rather
172 than one at a time. */
174 #define COMPACT_LEASES
176 /* Define this if you want to be able to save and playback server operational
177 traces. */
179 #define TRACING