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
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. */
19 /* Define this to see what the parser is parsing. You probably don't
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 tree evaluations. The most
30 common reason for doing this is to watch what happens with DNS name
33 /* #define DEBUG_EVAL */
35 /* Define this if you want the dhcpd.pid file to go somewhere other than
36 the default (which varies from system to system, but is usually either
39 /* #define _PATH_DHCPD_PID "/var/run/dhcpd.pid" */
41 /* Define this if you want the dhcpd.leases file (the dynamic lease database)
42 to go somewhere other than the default location, which is normally
45 /* #define _PATH_DHCPD_DB "/etc/dhcpd.leases" */
47 /* Define this if you want the dhcpd.conf file to go somewhere other than
48 the default location. By default, it goes in /etc/dhcpd.conf. */
50 /* #define _PATH_DHCPD_CONF "/etc/dhcpd.conf" */
52 /* Network API definitions. You do not need to choose one of these - if
53 you don't choose, one will be chosen for you in your system's config
54 header. DON'T MESS WITH THIS UNLESS YOU KNOW WHAT YOU'RE DOING!!! */
56 /* Define this to use the standard BSD socket API.
58 On many systems, the BSD socket API does not provide the ability to
59 send packets to the 255.255.255.255 broadcast address, which can
60 prevent some clients (e.g., Win95) from seeing replies. This is
61 not a problem on Solaris.
63 In addition, the BSD socket API will not work when more than one
64 network interface is configured on the server.
66 However, the BSD socket API is about as efficient as you can get, so if
67 the aforementioned problems do not matter to you, or if no other
68 API is supported for your system, you may want to go with it. */
70 /* #define USE_SOCKETS */
72 /* Define this to use the Sun Streams NIT API.
74 The Sun Streams NIT API is only supported on SunOS 4.x releases. */
78 /* Define this to use the Berkeley Packet Filter API.
80 The BPF API is available on all 4.4-BSD derivatives, including
81 NetBSD, FreeBSD and BSDI's BSD/OS. It's also available on
82 DEC Alpha OSF/1 in a compatibility mode supported by the Alpha OSF/1
83 packetfilter interface. */
87 /* Define this to use the raw socket API.
89 The raw socket API is provided on many BSD derivatives, and provides
90 a way to send out raw IP packets. It is only supported for sending
91 packets - packets must be received with the regular socket API.
92 This code is experimental - I've never gotten it to actually transmit
93 a packet to the 255.255.255.255 broadcast address - so use it at your
96 /* #define USE_RAW_SOCKETS */
98 /* Define this to change the logging facility used by dhcpd. */
100 /* #define DHCPD_LOG_FACILITY LOG_DAEMON */